X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FApp%2FFatPacker.pm;h=aa3caefffe9a9b3b011ffbd61907c7eaa86686cf;hb=002ecfea279e0e4db46718a0b499f76155439e16;hp=439934181f0048b0ba673e5f5672977e945b0422;hpb=cc5db92a0bedaa07593dc91ef75babb9e1c2fb86;p=p5sagit%2FApp-FatPacker.git diff --git a/lib/App/FatPacker.pm b/lib/App/FatPacker.pm index 4399341..aa3caef 100644 --- a/lib/App/FatPacker.pm +++ b/lib/App/FatPacker.pm @@ -171,7 +171,8 @@ sub script_command_file { unshift @INC, sub { if (my $fat = $fatpacked{$_[1]}) { - open my $fh, '<', \$fat; + open my $fh, '<', \$fat + or die "FatPacker error loading $_[1] (could be a perl installation issue?)"; return $fh; } return