package pm1187349;
use warnings;
use strict;
use Exporter 'import';
our @EXPORT_OK = qw($someScalar someFunction);
our $someScalar = "Scalar Text";
sub someFunction {
print "I am some function\n";
}
####
use warnings;
use strict;
use lib '.';
# don't import anything into the main:: namespace; must prefix everything with pm1187349::
use pm1187349;
# use them
pm1187349::someFunction();
print "someScalar = ${pm1187349::someScalar}\n";
##
##
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";