| 1 | # $Id: $ | ||
| 2 | # This is free software, you may use it and distribute it under the same terms as | ||
| 3 | # Perl itself. | ||
| 4 | # | ||
| 5 | # Copyright 2011 Joachim Zobel | ||
| 6 | # | ||
| 7 | package XML::LibXML::Devel; | ||
| 8 | |||
| 9 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | use XML::LibXML; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | ▶ | use vars qw ($VERSION); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | $VERSION = "2.0210"; # VERSION TEMPLATE: DO NOT CHANGE | |
| 16 | |||
| 17 | 1 | ▶ | use 5.008_000; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 1 | ▶ | use parent qw(Exporter); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use vars qw( @EXPORT @EXPORT_OK %EXPORT_TAGS ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | # This allows declaration use XML::LibXML::Devel ':all'; | ||
| 24 | # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK | ||
| 25 | # will save memory. | ||
| 26 | 1 | our %EXPORT_TAGS = ( 'all' => [ qw( | |
| 27 | node_to_perl | ||
| 28 | node_from_perl | ||
| 29 | refcnt_inc | ||
| 30 | refcnt_dec | ||
| 31 | refcnt | ||
| 32 | fix_owner | ||
| 33 | mem_used | ||
| 34 | ) ] ); | ||
| 35 | |||
| 36 | 1 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 37 | |||
| 38 | # Preloaded methods go here. | ||
| 39 | |||
| 40 | 1 | 1; | |
| 41 | __END__ | ||