I'm not quite sure if I get you right, but maybe you should
take a look into perlman:perlvar and $& for
the match, $` for the prematch and
$' for the postmatch. If you
use English you
can even use $MATCH, $PREMATCH and
$POSTMATCH.
--
use signature;
signature(" So long\nAlfie");