in reply to unexpected STDIN
This line will not do what you think it will:
if ($answer eq ('y' or 'yes')) {
Someone else asked how to get input from STDIN recently too: Continure when "y" and none for "n"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unexpected STDIN
by GhodMode (Pilgrim) on Apr 30, 2011 at 11:17 UTC | |
by AnomalousMonk (Archbishop) on Apr 30, 2011 at 14:13 UTC | |
by GhodMode (Pilgrim) on Apr 30, 2011 at 14:28 UTC | |
by locked_user sundialsvc4 (Abbot) on Apr 30, 2011 at 12:19 UTC |