Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 studying the Monastery: (4)
As of 2014-08-31 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls