Jump to content

Perl Programming/Keywords/undef

From Wikibooks, open books for an open world
Previous: umask Keywords Next: UNITCHECK

The undef keyword

[edit | edit source]

undef undefines the expression that follows the function. The expression must be an lvalue. This function is used only on scalars, arrays (using @), a hash (using %), a subroutine (using &), or a typeglob (using *).

Syntax

[edit | edit source]
  undef EXPR
Previous: umask Keywords Next: UNITCHECK