Perl Programming/Keywords/ PACKAGE

Previous: __LINE__ Keywords Next: abs

The __PACKAGE__ keyword

__PACKAGE__ is a special token that returns the package name in which it occurs.

Syntax

  __PACKAGE__
Previous: __LINE__ Keywords Next: abs
Category:Book:Perl Programming#Keywords/%20PACKAGE%20
Category:Book:Perl Programming