Subject: | cvs: require of PPI::XS dies |
This is for the 1.0 cvs version:
I guess the XS_DISABLE is set in all .t files, because all tests pass. But when using PPI outside the tests, the module doesn't load at all.
PPI.pm, line 27 should use parens to fix the precedence between and/or.
# If it is installed, load in PPI::XS
unless ( $PPI::XS_DISABLE ) {
eval { require PPI::XS };
$@ and ($@ =~ /^Can\'t locate PPI/ or die $@); # Only ignore if not installed
}