local

NAME

local - create a temporary value for a global variable (dynamic scoping)


SYNOPSIS

local EXPR


DESCRIPTION

A local modifies the listed variables to be local to the enclosing block, subroutine, eval{} or do . If more than one value is listed, the list must be placed in parens. See Llocal() "> for details.

But you really probably want to be using my() instead, because local() isn't what most people think of as ``local''). See Lmy() "> for details.