On 9/13/07, Jay Savage <[EMAIL PROTECTED]> wrote:
snip
> I'm actually a little confused about this. I never really thought
> about it, but the doc seems to indicate that $1 is a s bad as $& ("the
> same mechanism"). But then it implies that capturing parentheses only
> affect particular patterns ("pay a price for each pattern...").
>
> So does capturing parentheses anywhere affect the every pattern, like
> $&, or just patterns that capture?
snipCaptures slow down the patterns that use them, using $& slows down all patterns in the program. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
