#!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 $!; } }
In reply to Re^2: STDIN refuses input
by Khen1950fx
in thread STDIN refuses input
by lcole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |