Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Problems around Param

by Anonymous Monk
on Aug 26, 2015 at 01:36 UTC ( [id://1139945]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Problems around Param
in thread Problems around Param

Citings? I don't see anything about Vars corrupting data specifically. In perldoc CGI:.... When making blanket statements like "CGI->Vars corrupts data", please source it with authoritative material (where available), or at least explain some detail of the problem.

I didn't post links because its hard to type on a flip phone, can't check my links before posting

Searching the docs for the word "corrupt" might not be productive, but reading the docs for Vars makes it clear what it does and how its design isn't something you ever want

Lots of people skim the docs and think it only returns a hash and that they should use it because they want a simple hash, but there are caveats

But here you go stevieb use CGI->param instead of CGI->Vars , CGI->Vars has caveats , its broken by design , Re: Manually add parameters in perl cgi ( no ReadParse no CGI->Vars, Re^5: Read JSON data from a form (CGI->Vars), Re^5: Read JSON data from a form (CGI->VarsAsHash ), Re^5: Stop Using Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-03-28 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found