On Tue, May 10, 2005 at 05:24:30PM -0400, Rick Delaney wrote: : On Tue, May 10, 2005 at 06:20:44AM -0600, Luke Palmer wrote: : > Yeah, they're lexical, just like in Perl 5. : : Not just like Perl 5, I hope. If it was then the above would print : "d".
Yes, Perl 5 actually uses an autolocalizing form of dynamic scoping for the current successful match, but *only* if there was a successful match. We're intentionally breaking that. Larry