Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 lurking in the Monastery: (6)
As of 2014-09-19 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (150 votes), past polls