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 electrons to read:
> 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 examples in my book.
>
> What is the correct way to do this?
>
> thanks in advance,
> ruthie
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]