in reply to Where is the @ISA array?
__PACKAGE__ is taken verbatim and not interpolated like you seem to think it would be. So you're looking at two different variables, @{"__PACKAGE__::ISA"} and @{"metaperl::ISA"}. Why aren't you simply printing out @ISA? Doing __PACKAGE__ gymnastics just to get at variables seems a little roundabout to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Where is the @ISA array?
by metaperl (Curate) on Jan 21, 2009 at 15:34 UTC | |
by Corion (Patriarch) on Jan 21, 2009 at 15:37 UTC | |
by JavaFan (Canon) on Jan 21, 2009 at 17:09 UTC |