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'.

-- 
Jeff Peng - [EMAIL PROTECTED]
Professional Squid supports in China
http://www.ChinaSquid.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to