App-FatPacker
view release on metacpan or search on metacpan
lib/App/FatPacker/Trace.pm view on Meta::CPAN
my $trace_file;
my %initial_inc;
sub import {
my (undef, $file, @extras) = @_;
$trace_file = $file || '>>fatpacker.trace';
# For filtering out our own deps later.
# (Not strictly required as these are core only and won't have packlists, but
# looks neater.)
%initial_inc = %INC;
# Use any extra modules specified
eval "use $_" for @extras;
B::minus_c;
}
CHECK {
return unless $trace_file; # not imported
( run in 0.322 second using v1.01-cache-2.11-cpan-64827b87656 )