Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: No DESTROY object.

by WizardOfUz (Friar)
on Jan 22, 2010 at 14:52 UTC ( #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
Node Status?
node history
Node Type: note [id://818972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-07-29 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (224 votes), past polls