note
Khen1950fx
You could test <c>STDIN</c> on your local computer using
[href://http://search.cpan.org/~adamk/CGI-Capture-1.14/lib/CGI/Capture.pm|CGI::Capture]. Try this:
<c>
#!perl -lw
use strict;
use CGI ();
use CGI::Capture ();
print "What is your name?";
sleep 5;
SCOPE: {
my $input = <STDIN>;
chomp $input;
my $input_ref = \$input;
if ( CGI::Capture->_stdin($input_ref) ) {
print "Hello, $input" or die $!;
}
}
</c>
1067267
1067271