Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2016-10-26 20:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (347 votes). Check out past polls.