in reply to Re: require issue.
in thread require issue.
After posting that request for help I continued looking for a solution and came up with this.
in newform.pm I commented out the require statement
Thanks all for looking into this also.
in newform.pm I commented out the require statement
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;
Thanks all for looking into this also.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: require issue.
by ysth (Canon) on Mar 02, 2007 at 17:16 UTC |
In Section
Seekers of Perl Wisdom