in reply to
Re: writing to stdin
in thread
writing to stdin
Actually, there's a
chomp $ans;
missing (otherwise, one could write
my $ans = <STDIN> || 'y';
, which would be quite cool...)
Comment on
Re^2: writing to stdin
Select
or
Download
Code
In Section
Seekers of Perl Wisdom