in reply to Use of uninitialized value in array element
There is, in fact, such a thing as an uninitialized variable. Try the following code:
#! /usr/bin/perl -w my $var = undef ; print "\$var is $var.\n" ; [download]
More discussion on this can be found here.