Using lexical scope variable instead of global FILE you minimize unintentional name collisions and make the code more clear. The code reader will not be thinking about is FILE used anywhere else.
Using human readable name $line instead of $_ you make the code more readable.
In reply to Re: Which way is recommended ?
by ccn
in thread Which way is recommended ?
by matrixmadhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |