in reply to Mouse role fails
It looks like there may be a problem with your copy of IO::Handle. Does this script work OK for you?
use IO::Handle; STDOUT->print("Type some text and hit enter.\n"); STDOUT->print("Type 'quit' or 'exit' when you've finished.\n\n"); while (my $x = STDIN->getline) { last if $x =~ /^\s*(quit|exit)/i; STDOUT->print($x); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mouse role fails
by karlgoethebier (Abbot) on Nov 02, 2012 at 14:03 UTC | |
by tobyink (Canon) on Nov 02, 2012 at 14:45 UTC | |
by karlgoethebier (Abbot) on Nov 04, 2012 at 19:19 UTC | |
by tobyink (Canon) on Nov 04, 2012 at 19:45 UTC | |
by karlgoethebier (Abbot) on Nov 04, 2012 at 21:36 UTC | |
by VinsWorldcom (Prior) on Nov 02, 2012 at 15:15 UTC | |
by tobyink (Canon) on Nov 02, 2012 at 20:26 UTC | |
by Anonymous Monk on Nov 04, 2012 at 18:39 UTC | |
by tobyink (Canon) on Nov 02, 2012 at 14:44 UTC | |
|
Re^2: Mouse role fails
by karlgoethebier (Abbot) on Nov 02, 2012 at 18:54 UTC | |
|
Re^2: Mouse role fails
by karlgoethebier (Abbot) on Nov 02, 2012 at 13:17 UTC |