in reply to . "$1"

Looks like a syntax error for me. This compiles?

The only way to make this work might be a code transforming option from perlrun

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice