something like this would be good praxis:
BEGIN
use vars qw(@ISA @EXPORT_OK);
@ISA = qw(Exporter OtherModule);
@EXPORT_OK = qw(some_function);
}
damian's book is definately worth your while if you're into OO programming
btw:
"Object Orientated Perl" by Damian Conway
Published by Manning, ISBN 1884777791
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 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]