in reply to $_ unitialized
oruntil(!defined($_ = <STDIN>) and /exit|quit|(^\s*$)/i) { }
while(<STDIN>){ last if /exit|quit|(^\s*$)/i; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $_ unitialized
by ww (Archbishop) on Aug 23, 2009 at 02:02 UTC | |
|
Re^2: $_ unitialized
by Anonymous Monk on Aug 23, 2009 at 00:44 UTC |