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

No, my post shows it being used elsewhere. And here's another:

$ perl -le'print __PACKAGE__' main

You wouldn't expect @time::ISA to mean @1232553153::ISA. Same goes for __PACKAGE__. It's a built-in function like time.

$ perl -le'print CORE::__PACKAGE__' main

Update: I can override it

$ perl -wle'BEGIN { *CORE::GLOBAL::__PACKAGE__ = sub () { "abc" }; } p +rint __PACKAGE__' abc

but I can't call prototype on it

$ perl -wle'print prototype "CORE::__PACKAGE__"' Can't find an opnumber for "__PACKAGE__" at -e line 1.

so it's not quite the same as other built-ins. That's probably the only difference.