iphone has asked for the wisdom of the Perl Monks concerning the following question:
Hi, why am I getting the following warning when the below piece of code is getting executed?
Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
my $file; my @files; open $file, '<',"$options{c}" or die "could not open '$file' $!\n" +; @files = <$file>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
by chrestomanci (Priest) on Dec 15, 2010 at 10:33 UTC | |
|
Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
by ELISHEVA (Prior) on Dec 15, 2010 at 10:26 UTC | |
|
Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
by fisher (Priest) on Dec 15, 2010 at 10:31 UTC | |
|
Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
by Anonymous Monk on Dec 15, 2010 at 11:06 UTC |