Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Unusual Closure Behaviour

by RMGir (Prior)
on Feb 25, 2004 at 12:48 UTC ( #331642=note: print w/replies, xml ) Need Help??


in reply to Unusual Closure Behaviour

(Refresher: tachyon was asking about sub foo { my $x if undef; return $x++;})

It looks like the bug/feature question is finally settled, solidly on the "bug" side.

This p5p summary refers to this thread where Dave Mitchell submits a patch to make it warn deprecated, and exposes a lot of odd code in the process...


Mike

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://331642]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2016-12-10 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (163 votes). Check out past polls.