I left the Requires('somefile.pl') in the Main.pl, Then, when in the newform.pm and I wanted to use the someFile1 function I called main::someFile1(); This seemed to work!package newform; #require "somefile.pl"; sub func1 { main::someFile1(); print "Inside func1"; } 1;
In reply to Re^2: require issue.
by ant
in thread require issue.
by ant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |