Jeff Peng wrote:
On Sat, Jun 14, 2008 at 11:21 PM, Richard Lee <[EMAIL PROTECTED]> wrote:
trying to follow some modules examples.. but have a quick quesiton
Below pm works if I don't use strict and use @ISA and @EXPORT.. but not
when I use strict and my @ISA and my @EXPORT........
@ISA and @EXPORT are package variables of perl.
You must declare them with "our" or "use vars" if you enabled 'use strict'.
thank you! it works now.
First time ever using our.. I read about it but never had to use it till
now.. just have to read up on it more.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/