Perl Programming/Keywords/ PACKAGE

The __PACKAGE__ keyword

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

Syntax

  __PACKAGE__