$text =~ s{ ...some big regex here, with lots of comments and such... } { ...a Perl code snippet to be evaluated to produce the replacement text... }ex; ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl