That's what I thought too, that's why I asked where STDIN was coming from.

Always a bad idea to parse the input yourself because, as you found, 
Different OS/perl versions/protocals/etc... May need different parseing
Methods.

But CGI is modular and platform independent and quite easy to use ::

Perldoc -m CGI
Or search.cpan.org

use CGI qw/:standard/;

$monkey = param('monkey');
$joemama = param('joemama');

print header();
print "Hello $monkey - Thanks for filling out my html form and by the way : $joemama";


DMuey

> >>>>> "David" == David Gerler 
> <[EMAIL PROTECTED]> writes:
> 
> David> in my script I have a subroutine that begins with this line...
> 
> David> my @stuff = split(/&/,<STDIN>);
> 
> My crystal ball says "it's a CGI protocol handler".
> 
> To which I must reply "don't use that, use CGI.pm".  Please.
> 
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - 
> +1 503 777 0095 <[EMAIL PROTECTED]> 
> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, 
> etc. etc. See PerlTraining.Stonehenge.com for onsite and 
> open-enrollment Perl training!
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to