Re: [Catalyst] parameter validation

2008-07-19 Thread Matt S Trout
On Wed, Jul 02, 2008 at 11:08:46PM +0100, Caroline Johnston wrote: > Hi, > > This isn't strictly a catalyst question, but it arose from a previous > thread, > http://lists.scsys.co.uk/pipermail/catalyst/2007-December/016329.html, on > parameter validation and the problems of code like > > my $u

[Catalyst] parameter validation

2008-07-02 Thread Caroline Johnston
Hi, This isn't strictly a catalyst question, but it arose from a previous thread, http://lists.scsys.co.uk/pipermail/catalyst/2007-December/016329.html, on parameter validation and the problems of code like my $user = $rs->create({ is_admin => 0, username => $c->req->param('usernam