Copyright © tutorialspoint.com

PERL package Keyword


Syntax

package NAME

package


Definition and Usage

Changes the name of the current symbol table to NAME. The scope of the package name is until the end of the enclosing block. If NAME is omitted, there is no current package, and all function and variables names must be declared with their fully qualified names.

Return Value

  • Nothing

Example

To understand package keyword check Perl Modules session.


Copyright © tutorialspoint.com