Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: script review

by eyepopslikeamosquito (Chancellor)
on Sep 19, 2013 at 21:14 UTC ( #1054913=note: print w/replies, xml ) Need Help??

in reply to script review

A number of attempts have been made to address this problem over the years; for example, Simon Cozens once set up a (now defunct) "code review ladder". At that time, there were more folks wanting reviews than prepared to do them, presumably because performing a detailed, quality code review is very time consuming and few people have the time and inclination to do it.

You might try posting some of your code to the latest attempt at such a site, namely PrePAN. However, before doing that, I suggest you isolate small pieces of code that you're unhappy with and post multiple small questions here to the Seekers of Perl Wisdom section. That way, you will surely get a quick response which you can use to improve and polish your code before submitting to PrePAN, say (if PrePAN is appropriate for your code, which we would be able to advise on).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054913]
[choroba]: Anyone using anything to validate json contents of a REST service?
[moritz]: choroba in python I use jsonschema
[moritz]: I'm sure there's a Perl implementation of it too
[choroba]: it seems Kelp and similar help you a lot with dispatching, but how to do something similar with contents?
[moritz]: like JSON::Schema
[Corion]: ambrus++ # more bugs than lines
[Corion]: That's like "works on my machine" ;-)
[choroba]: I mean, I'd like to say "this path should run this sub, but first it should check the user is authenticated, has the following permissions, and the contents is valid against a given schema
[ambrus]: no, that means I haven't even tried to run it, might not even parse
[ambrus]: so it doesn't work on my machine

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2016-12-08 12:49 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (141 votes). Check out past polls.