in reply to Re: Where is the @ISA array?
in thread Where is the @ISA array?

Why aren't you simply printing out @ISA?
@ISA is a package variable. I am using strict. So I have to package qualify it.
Doing __PACKAGE__ gymnastics just to get at variables seems a little roundabout to me.
How would you do it?

Replies are listed 'Best First'.
Re^3: Where is the @ISA array?
by Corion (Patriarch) on Jan 21, 2009 at 15:37 UTC

    Simply use vars '@ISA';. There is no need to use fully qualified names. In fact, using fully qualified names removes the protection that strict buys you.

Re^3: Where is the @ISA array?
by JavaFan (Canon) on Jan 21, 2009 at 17:09 UTC
    print our @ISA