#BEGIN OF THE TEST.PM package test; use strict; use warnings; # # The object responsible for managing the database connections. # my $dbaccess = undef; #somewhere else $dbaccess = new tmp::tmp2::DBAccess( %dbURL); #END OF THE TEST.PM #### #BEGIN OF THE TEST2.PM package test2; use strict; use warnings; # How to access dbaccess from test.pm?? #END OF THE TEST2.PM