Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Multiple CGI parameters

by Joost (Canon)
on Aug 15, 2008 at 19:48 UTC ( [id://704606]=note: print w/replies, xml ) Need Help??


in reply to Re: Multiple CGI parameters
in thread Multiple CGI parameters

Vars does have its problems (mainly, it concatenates duplicate variables, using the "\0" character)

But in general, using a hash really is a lot more secure than trying to do what the OP wants. Especially considering that perl uses quite a lot of special variables that could be overwritten that way (and that's assuming the code itself uses lexicals exclusively, which it probably doesn't).

Replies are listed 'Best First'.
Re^3: Multiple CGI parameters
by Cap'n Steve (Friar) on Aug 15, 2008 at 23:17 UTC
    (mainly, it concatenates duplicate variables, using the "\0" character)


    I just ran into that issue and spent a few days trying to figure out what I thought was a UTF-8 encoding issue. So much fun.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://704606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found