in reply to Re: Re: Is there any way to get at paren matches from qr//
in thread Is there any way to get at paren matches from qr//

In your second example you have
$re = /$pat/;
when you mean
$re = qr/$pat/;
With the qr added, it gives the expected output.

Replies are listed 'Best First'.
Re: Re: Re: Re: Is there any way to get at paren matches from qr//
by nneul (Novice) on May 13, 2004 at 16:13 UTC
    Yes... working as expected now. Brain/eye/hand communications problems for a bit. Thanks.