I don't believe that <STDIN> behaves like a lazy list. STDIN would need to eof before firstval would even get a look at the data. At least under 5.8.9. This behaves differently than the while ($x = <STDIN>) { ... } block.
--MidLifeXis
In reply to Re^2: End of String in qr// expression
by MidLifeXis
in thread End of String in qr// expression
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |