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" ;
More discussion on this can be found here.
In reply to Re: Re: Use of uninitialized value in array element
by DamnDirtyApe
in thread Use of uninitialized value in array element
by dimmesdale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |