Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^9: (??{ code }) versus (?PARNO) for recursive regular expressions

by ikegami (Patriarch)
on Mar 26, 2011 at 03:48 UTC ( [id://895630]=note: print w/replies, xml ) Need Help??


in reply to Re^8: (??{ code }) versus (?PARNO) for recursive regular expressions
in thread (??{ code }) versus (?PARNO) for recursive regular expressions

However, when using my $x = qr/(??{ $x })/;, the script throws no strictures errors

That's the bug I mentioned earlier. The use strict; didn't propagate into the (??{ }). (You're getting the warning because the second $x is the package variable.)

I'm guessing the behaviour of our $x = qr/(??{ $x })/; changed when they fixed the pragma propagation.

I'll file a bug report.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://895630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-23 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found