Yes, it will read the entire input before doing any work. That's true of the OP too, and the other map-based solutions I see posted.
In reply to Re^3: Probably an easy map question
by kyle
in thread Probably an easy map question
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |