Re: strict pragma and @ISA

2001-09-05 Thread brian d foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Rob Dixon) wrote: > There are two ways around this: you can do what it says, and give it an explicit > package name. For instance, if you're writing perl/lib/Local/Package.pm you can > refer to it as > > Local::Package::@ISA that is @Local

RE: strict pragma and @ISA

2001-09-05 Thread Rob Dixon
ber 2001 14:11 > To: [EMAIL PROTECTED] > Subject: strict pragma and @ISA > > > hi all. > > I am trying to use the strict pragma in all my perl files, but when i > use it with @ISA I get: > Global symbol "@ISA" requires explicit package name at ...pm line ..

Re: strict pragma and @ISA

2001-09-04 Thread Michael Fowler
On Tue, Sep 04, 2001 at 01:47:52PM +0100, [EMAIL PROTECTED] wrote: > if you are using perl 5.6 then u need to add a line > our qw( @ISA ) 'our' should only be used if you're using perl 5.6 and don't mind that the 'our' makes your code incompatible with earlier perl versions. 'our' should

Re: strict pragma and @ISA

2001-09-04 Thread register
L PROTECTED]] > > Sent: Tuesday, September 04, 2001 8:48 AM > > To: Ruth Albocher > > Cc: [EMAIL PROTECTED] > > Subject: Re: strict pragma and @ISA > > > > > > if you are using perl 5.6 then u need to add a line > > our qw( @ISA ) > > No,

RE: strict pragma and @ISA

2001-09-04 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 04, 2001 8:48 AM > To: Ruth Albocher > Cc: [EMAIL PROTECTED] > Subject: Re: strict pragma and @ISA > > > if you are using perl 5.6 then u need to add a line

Re: strict pragma and @ISA

2001-09-04 Thread register
if you are using perl 5.6 then u need to add a line our qw( @ISA ) if you r using perl 5.5 u ned to add a line use vars qw( @ISA ) btw this applies to a lot of global variables like $VERSION $AUTOLOAD etc ... On Tue, Sep 04, 2001 at 03:10:32PM +0200, Ruth Albocher shaped the ele

Re: strict pragma and @ISA

2001-09-04 Thread Jos I. Boumans
Conway Published by Manning, ISBN 188491 hth Jos Boumans - Original Message - From: "Ruth Albocher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 3:10 PM Subject: strict pragma and @ISA > hi all. > > I am trying to use

strict pragma and @ISA

2001-09-04 Thread Ruth Albocher
hi all. I am trying to use the strict pragma in all my perl files, but when i use it with @ISA I get: Global symbol "@ISA" requires explicit package name at ...pm line .. like any other variable that should be declared. I understand that @ISA is not local, but this is how it is put in all the ex