Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Prevent object from cloning

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


in reply to Re: Prevent object from cloning
in thread Prevent object from cloning

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.


Comment on Re^2: Prevent object from cloning
Download Code
Re^3: Prevent object from cloning
by BrowserUk (Pope) on Oct 18, 2010 at 17:13 UTC
    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

        Wow!++ That, was fast!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2015-07-03 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls