Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can this POSSIBLY be the case when my test proves 100% it's not undefined? This is the line on line 134 and it's saying $file is undefined, right? Well WRONG, the print statement exactly one line above prints the value correctly. Could something else be the problem?
print "file = \"$file\""; my $type = uploadInfo($file)->{'Content-Type'};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Undefined hash value (or so it thinks)
by Corion (Patriarch) on Apr 01, 2004 at 20:42 UTC | |
|
Re: Undefined hash value (or so it thinks)
by Thelonius (Priest) on Apr 01, 2004 at 20:39 UTC | |
|
Re: Undefined hash value (or so it thinks)
by Roy Johnson (Monsignor) on Apr 01, 2004 at 20:40 UTC |