in reply to Re^2: IE vs. Firefox : Can't use an undefined value as a HASH reference error
in thread IE vs. Firefox : Can't use an undefined value as a HASH reference error
uploadInfo is from CGI.pm, so you want the source from the CGI module?That would be the relevant code, yes. Not being a frequent CGI programmer, myself, I didn't recognize that it was a CGI function. So here's the source:
It's a method, and you're calling it as an ordinary sub.sub uploadInfo { my($self,$filename) = self_or_default(@_); return $self->{'.tmpfiles'}->{$filename}->{info}; }
Update: as dragonchild points out, that's not the problem. So the critical issue looks like: what is the value of $filename? It may require some exploration and dumping of data to see what value it should have in order to work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: IE vs. Firefox : Can't use an undefined value as a HASH reference error
by dragonchild (Archbishop) on Feb 24, 2005 at 19:11 UTC | |
|
Re^4: IE vs. Firefox : Can't use an undefined value as a HASH reference error
by hmbscully (Scribe) on Feb 24, 2005 at 19:16 UTC | |
by Roy Johnson (Monsignor) on Feb 24, 2005 at 19:36 UTC | |
by hmbscully (Scribe) on Feb 24, 2005 at 20:01 UTC | |
by Roy Johnson (Monsignor) on Feb 24, 2005 at 20:15 UTC | |
by dragonchild (Archbishop) on Feb 24, 2005 at 20:09 UTC | |
by hmbscully (Scribe) on Feb 24, 2005 at 20:29 UTC |