Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 avoiding work at the Monastery: (8)
As of 2019-11-22 10:27 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (110 votes). Check out past polls.