We don't bite newbies here... much | |
PerlMonks |
Re: •Re: Large scale search and replace with perl -iby BrowserUk (Patriarch) |
on Apr 20, 2003 at 07:23 UTC ( [id://251785]=note: print w/replies, xml ) | Need Help?? |
One small caveat with this neat technique (that I just got bitten by) is that if $^I is set to a wild card (eg. *.bak or orig_*) so that the filename of the backup is edited rather than simply appended, the rename will fail. I'll hazard a guess as to your respose to this as <merlyn>Don't do that then. {grin}</merlyn> but I thought it was worth a mention here :) Examine what is said, not who speaks.
1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. 2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible 3) Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke.
In Section
Seekers of Perl Wisdom
|
|