Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 meditating upon the Monastery: (3)
As of 2014-09-22 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls