in reply to Re: Use of uninitialized value in array element
in thread 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" ;
More discussion on this can be found here.
|
|---|