require Data::Dumper; Data::Dumper->import('Dumper'); #### use App::Nysus::Utils; # import all the stuff #### package App::Nysus::Utils; use strict; use Data::Dumper (); # just for completeness / offline testing outside of Apache sub import { (my $target) = caller(); no strict 'refs'; *{ "$target\::Dumper" } = \&Data::Dumper::Dumper; }; 1;