http://qs1969.pair.com?node_id=569854


in reply to Re^2: Why is file being slurped in instead of line by line?
in thread Why is file being slurped in instead of line by line?

ahmad's point is however a good one. It is generally good practice to limit the scope of variables as far as is reasonable. It reduces the chance that a variable will be inadvertantly modified and the purpose of the variable is generally clearer.


DWIM is Perl's answer to Gödel