Why doesn't <STDIN> initialize and fill $_ in the following control block?
until(<STDIN> =~ /exit|quit|(^\s*$)/i) { }I ended up leaving until(<STDIN>) by it's lonesome, then assigning $scalar = $_, then matching it to the above regex. Logic would dictate that there would be a more elegant solution. Thanks in advance!
In reply to $_ unitialized by alexx1523
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |