in reply to
Re: writing to stdin
in thread
writing to stdin
Other than the chomp problem, this code will interpret the answer "yes" as no. Maybe this is trivial, but I think it's nice to make the extra effort to do what the user really wants. :-)
Comment on
Re^2: writing to stdin
In Section
Seekers of Perl Wisdom