]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - lib/File/KDBX/Util.pm
Fix extends to die on failure
[chaz/p5-File-KDBX] / lib / File / KDBX / Util.pm
index a09d2863d9177d69f902140f2159c0083bf50bc0..5b12e9dd1ea525135e29611a258537b33d4193a7 100644 (file)
@@ -411,8 +411,7 @@ Set up the current module to inheret from another module.
 sub extends {
     my $parent  = shift;
     my $caller  = caller;
-    # load $parent;
-    eval qq[require $parent];
+    load $parent;
     no strict 'refs'; ## no critic (ProhibitNoStrict)
     @{"${caller}::ISA"} = $parent;
 }
This page took 0.018381 seconds and 4 git commands to generate.