in reply to Re: Global symbol x requires explicit package name at main.pl
in thread Global symbol x requires explicit package name at main.pl

thanx for the advice, I used the double colon method and assign the package variable to a local variable. However, it still didn't work. Then I change "use test" to "require("test.pm")" and it worked... thanx But this is still very magical, kinda confusing...
  • Comment on Re^2: Global symbol x requires explicit package name at main.pl