Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Welcome to the Monastery
 
PerlMonks  

Prevent object from cloning

by menth0l (Monk)
on Oct 18, 2010 at 09:06 UTC ( #865899=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyPackage;
    use threads;
    ...
    {
        my $o1 = new MyPackage;
    }
    
  2. or download this
    ERROR: Attempt to DESTROY object ID 1 of class MyPackage twice
    ERROR: Attempt to DESTROY object ID 1 of class MyPackage twice
    Scalars leaked: 1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-04-17 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls