Perl package Function



Description

This function 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.

Syntax

Following is the simple syntax for this function −

package NAME

package

Return Value

This function does not return any value.

To understand package keyword check Perl Modules session.

perl_function_references.htm
Advertisements