- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

local EXPR

You really probably want to be using my instead, because local isn't what most people think of as "local". See 8.1 for details.

A local modifies the listed variables to be local to the enclosing block, file, or eval. If more than one value is listed, the list must be placed in parentheses. See 8.3 for details, including issues with tied arrays and hashes.

The delete local EXPR construct can also be used to localize the deletion of array/hash elements to the current block. See 8.3.5.

ISBN 9781906966027Perl Language Reference ManualSee the print edition