Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Rename FILE to nnn-FILEby Eimi Metamorphoumai (Deacon) |
on Dec 29, 2004 at 23:02 UTC ( [id://418123]=note: print w/replies, xml ) | Need Help?? |
Here's how I would write it, compromising between brevity and readability. (untested)
I think you may be trying too hard to use perlisms (like the regexp replace). Often, it's better to just look for simpler ways to do things.
In Section
Seekers of Perl Wisdom
|
|