Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Uninitialized scalar variables in Perl have the value undef, a special value that stands for the absence of value. You can reset scalar variables to their uninitialized state by assigning undef to them or by using the undef() function:
my $toast = undef; undef $history;