Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Writing a REAL destructor

by Abigail-II (Bishop)
on Jun 05, 2002 at 14:58 UTC ( [id://171852]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {   my $obj = Harf -> new;
        my $obj2 = $obj;
        undef $obj;    # Does *not* call DESTROY!
        ....
    }   # Only here DESTROY is called, as also $obj2 goes out of scope.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-26 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found