summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/Data-Dumper/Dumper.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm
index 78e96a9d15..b2f3fc644a 100644
--- a/dist/Data-Dumper/Dumper.pm
+++ b/dist/Data-Dumper/Dumper.pm
@@ -31,9 +31,10 @@ BEGIN {
# toggled on load failure.
eval {
require XSLoader;
+ XSLoader::load( 'Data::Dumper' );
+ 1
}
- ? XSLoader::load( 'Data::Dumper' )
- : ($Useperl = 1);
+ or $Useperl = 1;
}
# module vars and their defaults