{ package Base; use File::Spec::Functions; sub import { File::Spec::Functions->import; } } { package A; use Base; # Now A doesn't have File::Spec::Functions!!! }