in reply to Function call in regex replacement string
This node gave me the idea to post Yet another perl-rename tool which has the way I approached this problem. I simply created a code ref on the fly using eval STR, and then called the function to make the change. Not recommended for insecure environments, but, really, if you're logged in as your own user, all you can screw up is yourself ;-) (i.e., don't use this for CGI or stuff)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Function call in regex replacement string
by PoorLuzer (Beadle) on Feb 25, 2009 at 09:29 UTC |