| 1 | package XML::PugiXML; | ||
| 2 | 11 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 11 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 11 | our $VERSION = '0.10'; | |
| 6 | |||
| 7 | 11 | require XSLoader; | |
| 8 | 11 | XSLoader::load('XML::PugiXML', $VERSION); | |
| 9 | |||
| 10 | # Under ithreads, the objects in these packages are blessed pointers to C++ | ||
| 11 | # structures, not per-interpreter data. Cloning one into a new thread would | ||
| 12 | # copy the raw pointer and leave two interpreters each holding a DESTROY for | ||
| 13 | # it, double-deleting the underlying object. CLONE_SKIP tells perl not to | ||
| 14 | # clone them: a new thread simply does not inherit these objects. | ||
| 15 | 1 | ▶ | sub CLONE_SKIP { 1 } |
|
Subroutine
CLONE_SKIP: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | sub XML::PugiXML::Node::CLONE_SKIP { 1 } |
|
Subroutine
CLONE_SKIP: called CC=1 SCAR=0.0
| |||
| 17 | 1 | ▶ | sub XML::PugiXML::Attr::CLONE_SKIP { 1 } |
|
Subroutine
CLONE_SKIP: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | sub XML::PugiXML::XPath::CLONE_SKIP { 1 } |
|
Subroutine
CLONE_SKIP: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 11 | 1; | |
| 21 | |||
| 22 | __END__ | ||