Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: No DESTROY object.

by WizardOfUz (Friar)
on Jan 22, 2010 at 14:29 UTC ( #818966=note: print w/ replies, xml ) Need Help??


in reply to Re: No DESTROY object.
in thread No DESTROY object.

For example, see that this prints the same address twice.

No, it does not, at least not in perl v5.10.0:

perl -we 'sub f { my $t; sub { $t } }; $x = f(); $y = f(); warn "$x $y +";' CODE(0x82998c4) CODE(0x8299964) at -e line 1.

Has perl become smarter?


Comment on Re^2: No DESTROY object.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-10-22 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (113 votes), past polls