Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"blind" module :-/

Status
Not open for further replies.

iza

Programmer
Apr 4, 2000
1,804
FR

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.

 
ok fixed it, that was a verrrrry stupid mistake : the 2 modules were not pointing to the same perl directory
sorry !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top