in reply to how to export methods from module [only partially SOLVED]
use does a require and a import. Feel free to just do the later.
Or,
BEGIN { package Foo; ... $INC{"Foo.pm"} = 1; } BEGIN { package Bar; ... $INC{"Bar.pm"} = 1; }
use Module qw( ); # Load the file use Foo qw( ... ); # Import use Bar qw( ... ); # Import
|
|---|