Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Broken compatibility for recursive regex in Perl 5.8.4

by diotalevi (Canon)
on May 24, 2004 at 23:33 UTC ( #356081=note: print w/replies, xml ) Need Help??

in reply to Broken compatibility for recursive regex in Perl 5.8.4

I can't see how the previous behaviour was correct. When I've written this sort of thing the obvious and normal thing (to me of course) was to declare the lexical on the preceding line and then allow the regexp to capture it in its closure. Similarly, my $foo; $foo = sub { ... $foo->( ... ) ... }. If you're going to have it operate on something that is operating by lexical rules, then expect to have to treat it by lexical rules.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2020-08-14 23:31 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (76 votes). Check out past polls.