if (m/(...)/) { DoSomeOtherStuff(); print "the matched text was $1.\n"; } ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl