Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Prevent object from cloning

by BrowserUk (Pope)
on Oct 18, 2010 at 09:23 UTC ( #865905=note: print w/ replies, xml ) Need Help??


in reply to Prevent object from cloning

See CLONE_SKIP in perlmod


Comment on Re: Prevent object from cloning
Re^2: Prevent object from cloning
by menth0l (Monk) on Oct 18, 2010 at 09:39 UTC
    Adding CLONE_SKIP to MyPackage results in abnormal thread termination. This is what i caught using eval:
    OIO error: panic: del_backref at C:/Perl/site/lib/Object/InsideOut.pm +line 1305. Package: main File: C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl Line: 27 Subsequent to the above, the following error also occurred: OIO error: panic: del_backref at C:/Perl/site/lib/Object/InsideOut +.pm line 1883. Package: main File: C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl Line: 27 Trace begun at C:\Perl\site\lib\Object\InsideOut.pm line 1942 Object::InsideOut::DESTROY('MyPackage=SCALAR(0x1ba3b0c)') called at C: +\Development\workspace\ebi.ds.lite\_Scripts\bug.pl line 27 eval {...} at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl lin +e 27 main::th at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl line +22 eval {...} at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl lin +e 22 Unbalanced string table refcount: (1) for "1" during global destructio +n. Scalars leaked: 1
    This class have to be implemented via OIO and i can't fallback on classic hashref based object.
      Adding CLONE_SKIP to MyPackage results in abnormal thread termination.

      Contact the author of Object::InsideOut and report the bug.

        I have fixed this in OIO v3.72

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://865905]
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 2014-09-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (135 votes), past polls