Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Ubiquity of the CGI param method

by LTjake (Prior)
on Aug 11, 2010 at 01:14 UTC ( #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)


Comment on Re: Ubiquity of the CGI param method

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-07-04 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls