use strict; use warnings; use autodie; use List::Util qw(first max maxstr min minstr reduce shuffle sum); # etc... #### package Local::Junk; sub import { # The following work: warnings->import; strict->import; # The following do NOT work: autodie->import; List::Util->import(qw(first max maxstr min minstr reduce shuffle sum)); }