in reply to Re: Sharing Across Packages
in thread Sharing Across Packages
In the ABOUT package, how to I include the main package.
I am getting the following error when I try this $main::MW.
I am getting the following error when I try this $main::MW.
I used Data Dumper and the variable is UNDEF.Can't locate main.pm in @INC (@INC contains: . C:/Perl/lib C:/Perl/sit +e/lib) atline 8.
use main?????
use bpp.pl (the main file name)????
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Sharing Across Packages
by polettix (Vicar) on Sep 30, 2006 at 00:41 UTC |
In Section
Seekers of Perl Wisdom