use autouse 'This::Module'; use autouse 'That::Module'; #### autoused module has unique import() method at autouse.pl line 5 #### use strict; use warnings; use autouse 'Data::Dump::Streamer'=>qw(Dump); use autouse 'No::Such::Module'; print "foo\n"; my %hash = ( 1=>'one', 2=>'two', 3=>'three' ); Dump(%hash); my $dds = Data::Dump::Streamer->new; $dds->Dump(%hash)->Out(); #### Can't locate object method "new" via package "Data::Dump::Streamer" (perhaps you forgot to load "Data::Dump::Streamer"?) at autouse.pl line 15.