Perl Programming/Keywords/undef

The undef keyword

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

  undef EXPR