in reply to Code Correction
in thread Storing Regular Expressions as Strings in Array??

Doh.

Of course. The way I did it would work only if the subs were written as

sub{$_[0]=~s/foo/bar/g; $_[0]}
Sorry about the confusion...

Glad it helped out though. :-)

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.