Welcome to the Monastery | |
PerlMonks |
Re: read file a paragraph at a time and return paragraph OR get specific data from paragraphby GrandFather (Saint) |
on Nov 03, 2014 at 00:19 UTC ( [id://1105858]=note: print w/replies, xml ) | Need Help?? |
It is good practice to use local with changes to special variables (such as $/) so that other code isn't affected by unexpected changes to such variables. A related consideration is limiting the use of $_ to places where its use is unavoidable such as map, grep and statement modifiers.
Perl is the programming world's equivalent of English
In Section
Cool Uses for Perl
|
|