Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Do you know where your variables are?
 
PerlMonks  

More Info: Re: undefined value as a HASH reference??

by ryddler (Monk)
on May 17, 2001 at 14:07 UTC ( [id://81239]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to undefined value as a HASH reference??

Further investigation reveals that running the script from the command-line (passing the CGI params) runs without problems. The assignment is made without fail.

So now the situation becomes even more bizarre. It would seem that the failure to assign directly from the hash is because of security levels. That didn't seem to make any sense, because an assignment could still be made from a scalar, so what's the problem?

On a hunch, I removed the -T from the Perl configuration in IIS, and tried the script again. This time it ran without any errors.

I don't know much about Taint mode, but it seems to have been the reason for the assignment failures even though the error message said absolutely nothing about any tainted variables. "Undefined value as a HASH reference" doesn't seem even remotely close to tainted variables to me.

Does any of this make sense to anyone? If so, could you fill me in?

ryddler

  • Comment on More Info: Re: undefined value as a HASH reference??

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://81239]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.