is special. it does not act like any other iteration construct, not even like any other while() construct. It explicitly iterates over each record ("line") one by one instead of converting the whole file to a list first.while (<SOME_FILE_HANDLE>)
In reply to Re^2: Different behaviors between "while" and "map"
by Joost
in thread Different behaviors between "while" and "map"
by lightoverhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |