![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Execute regexp on directory treeby Anarion (Hermit) |
on Dec 12, 2001 at 14:41 UTC ( [id://131205]=note: print w/replies, xml ) | Need Help?? |
If you want to replace for the content of $1 you must use /ee modifier to the regex. One advice, its better to use a negated character class: Update I forgot to say that then you have to change the substitution pattern to something to be evaluated:
$anarion=\$anarion; s==q^QBY_^=,$_^=$[x7,print
In Section
Seekers of Perl Wisdom
|
|