works as you expect, butwhile(<IN>) { print; }
does not. This is documented in perlop, section "I/O Operators".while(<IN> && 'perl rulez') { print; }
In reply to Re: Can I do an "inner read"?
by kappa
in thread Can I do an "inner read"?
by digger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |