use warnings; use strict; use lib '.'; # import both a function and a scalar variable, so you don't need to prefix with pm1187349:: use pm1187349 qw(someFunction $someScalar); # use them someFunction(); print "someScalar = ${someScalar}\n";