use File::Path qw(mkpath rmtree);
use B qw(perlstring);
-our $VERSION = '0.009010'; # 0.9.10
+our $VERSION = '0.009012'; # 0.9.012
$VERSION = eval $VERSION;
unshift @INC, sub {
if (my $fat = $fatpacked{$_[1]}) {
+ if ($] < 5.008) {
+ return sub {
+ return 0 unless length $fat;
+ $fat =~ s/^([^\n]*\n?)//;
+ $_ = $1;
+ return 1;
+ };
+ }
open my $fh, '<', \$fat
or die "FatPacker error loading $_[1] (could be a perl installation issue?)";
return $fh;