| 1 | package PPI; | ||||||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||||||
| 3 | # See POD at end for documentation | ||||||||||||||||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||||||||||||||||
| 5 | 63 | ▶ | use 5.006; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 6 | 63 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||||||||||
| 8 | # Set the version for CPAN | ||||||||||||||||||||||||||||||||||||||||||
| 9 | 63 | our $VERSION = '1.260'; # VERSION | |||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||
| 11 | 63 | our ( $XS_COMPATIBLE, @XS_EXCLUDE ) = ( '0.845' ); | |||||||||||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||||||||||||
| 13 | # Load everything | ||||||||||||||||||||||||||||||||||||||||||
| 14 | 63 | ▶ | use PPI::Util (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 15 | 63 | ▶ | use PPI::Exception (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 16 | 63 | ▶ | use PPI::Element (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 17 | 63 | ▶ | use PPI::Token (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 18 | 63 | ▶ | use PPI::Statement (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 19 | 63 | ▶ | use PPI::Structure (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 20 | 63 | ▶ | use PPI::Document (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 21 | 63 | ▶ | use PPI::Document::File (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 22 | 63 | ▶ | use PPI::Document::Fragment (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 23 | 63 | ▶ | use PPI::Document::Normalized (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 24 | 63 | ▶ | use PPI::Normal (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 25 | 63 | ▶ | use PPI::Tokenizer (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 26 | 63 | ▶ | use PPI::Lexer (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 27 | |||||||||||||||||||||||||||||||||||||||||||
| 28 | # If it is installed, load in PPI::XS | ||||||||||||||||||||||||||||||||||||||||||
| 29 | die | ||||||||||||||||||||||||||||||||||||||||||
| 30 | if !$PPI::XS_DISABLE | ||||||||||||||||||||||||||||||||||||||||||
| 31 | 63 | ▶ | and !eval { require PPI::XS; 1 } | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%2/6
$PPI::XS_DISABLE or eval {
do {
require PPI::XS;
1
}
} or $@ =~ /^Can't locate .*? at /
$PPI::XS_DISABLE or eval {
do {
require PPI::XS;
1
}
}
MC/DC0%0/3
$PPI::XS_DISABLE or eval {
do {
require PPI::XS;
1
}
} or $@ =~ /^Can't locate .*? at /
$PPI::XS_DISABLE
eval {
do {
require PPI::XS;
1
}
}
$@ =~ /^Can't locate .*? at /
Truth table0%0/4
A or B or C
A= $PPI::XS_DISABLEB= eval {
do {
require PPI::XS;
1
}
}C= $@ =~ /^Can't locate .*? at /
| |||||||||||||||||||||||||||||||||||||||||||
| 32 | and $@ !~ /^Can't locate .*? at /; # ignore failure to load if not installed | ||||||||||||||||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||||||||||||||||
| 34 | 63 | 1; | |||||||||||||||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||||||||||||||||
| 36 | __END__ | ||||||||||||||||||||||||||||||||||||||||||