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

Re: Ubiquity of the CGI param method

by LTjake (Prior)
on Aug 11, 2010 at 01:14 UTC ( [id://854185]=note: print w/replies, xml ) Need Help??


in reply to Ubiquity of the CGI param method

I *think* I see where you're going with this. Basically you want arbitrary data structure validation.

Typically people call the "profile" for such validation, a schema. You'll see that term most frequently with XML data.

In the Perl world, there are no doubt a number of tools that let you validate data against a schema. One such tool is Data-Rx (homepage). One particularly nice feature is that the author has also prepared implementations in other languages, so the same schema can be used against a number of different end-points.

Sorry for not directly answering your question, but I would feel silly if I didn't mention this existing tool.

--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
" (src)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-20 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found