Think about Loose Coupling | |
PerlMonks |
Re: Broken compatibility for recursive regex in Perl 5.8.4by dave_the_m (Monsignor) |
on May 25, 2004 at 00:30 UTC ( [id://356089]=note: print w/replies, xml ) | Need Help?? |
This is because until 5.8.4, the use strict;
wasn't being propagated into the code within the regex; now it
is, so it complains that the var hasn't been declared (because the declaration doesn't come into effect until the statement following the our.
The error message is a bit misleading due the way Perl code within regexes is currently handled - something I'm hoping to fix for 5.10.0. Dave.
In Section
Meditations
|
|