The stupid question is the question not asked | |
PerlMonks |
Re: Re: Matching the author and post date of an articleby tachyon (Chancellor) |
on Dec 26, 2001 at 15:36 UTC ( [id://134382]=note: print w/replies, xml ) | Need Help?? |
I see you are careful to *fix* the value ot $/ before you finish. A better way is to locally scope the changes to $/ using local - then you don't have to remember to fix it. This goes for all the special vars:
Often you have a convenient block to scope within. If not make one as shown above. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|