Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: No DESTROY object.

by WizardOfUz (Friar)
on Jan 22, 2010 at 14:52 UTC ( [id://818972]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    undef $object;
    
    print "Done.\n";
    
  2. or download this
    # Created Foo=CODE(0x82cafec)
    # Hello!
    # DESTROYing Foo=CODE(0x82cafec)
    # Done.
    
  3. or download this
    sub new {
        my $class  = shift;
        my $string = "Hello!\n";
        return bless( sub { print $string }, $class );
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-23 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found