more useful options | |
PerlMonks |
Re^2: writing to stdinby virtualsue (Vicar) |
on Mar 28, 2005 at 13:25 UTC ( [id://442795]=note: print w/replies, xml ) | Need Help?? |
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. :-)
In Section
Seekers of Perl Wisdom
|
|