in reply to deleting all the elements of an array
undef $scalar; # $scalar = undef undef @array; # @array = () undef %hash; # %hash = () [download]
-- Chip Salzenberg, Free-Floating Agent of Chaos