Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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 rifling through the Monastery: (5)
As of 2016-05-29 10:27 GMT
Find Nodes?
    Voting Booth?