Webmaster in a Nutshell

Previous Chapter 15 Next
 

15.26 Special Arrays

@ARGV

Contains the command-line arguments for the script (not including the command name).

@EXPORT

Names the methods a package exports by default.

@EXPORT_OK

Names the methods a package can export upon explicit request.

@INC

Contains the list of places to look for Perl scripts to be evaluated by the do filename and require commands.

@ISA

List of base classes of a package.

@_

Parameter array for subroutines. Also used by split if not in array context.

%ENV

Contains the current environment.

%INC

List of files that have been included with require or do.

%OVERLOAD

Can be used to overload operators in a package.

%SIG

Used to set signal handlers for various signals.


Previous Home Next
Special Variables Book Index Environment Variables