say i've got 3 files :
launcher.pl
TEST/Utils.pl
TEST/Subdir/Test.pm
in launcher.pl, i call
use TEST::Utils;
my %params = TEST::Utils::buildQueryParam('test');
and this is fine
in Test.pm, i copied/pasted the above, so i call
use TEST::Utils;
my %params = TEST::Utils::buildQueryParam('test');
and then i get Undefined subroutine &TEST::Utils::buildQueryParam called at TEST/Subdir/Test.pm line xxx.