Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Unusual Closure Behaviour

by Dominus (Parson)
on Jul 14, 2001 at 19:10 UTC ( #96743=note: print w/ replies, xml ) Need Help??


in reply to Unusual Closure Behaviour

(tachyon asks about my $x if undef.)

This was discussed extensively on p5p about a year ago. The end result of the discussion is that this behavior is a bug, and, although it is going to stay in for the time being because nobody can see how to fix it, you should not depend on it either, because it is a bug, and someone might even fix it someday.

The thread begins here, and there is a recent message about it from Jarkko Hietaniemi that calls it a bug, and an older message from Larry Wall that says In Ada parlance, use of this feature would be considered erroneous.

--
Mark Dominus
Perl Paraphernalia


Comment on Re: Unusual Closure Behaviour
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2015-07-01 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls