Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 romping around the Monastery: (8)
As of 2015-01-30 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (254 votes), past polls