Of course. The way I did it would work only if the subs were written as
Sorry about the confusion...sub{$_[0]=~s/foo/bar/g; $_[0]}
Glad it helped out though. :-)
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
In reply to Re: Code Correction
by demerphq
in thread Storing Regular Expressions as Strings in Array??
by arunhorne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |