< Perl Programming < Keywords

The __PACKAGE__ keyword

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

Syntax

  __PACKAGE__
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.