Re: [Catalyst] Validating single arg id

2009-10-17 Thread Bill Moseley
On Fri, Oct 16, 2009 at 7:31 AM, J. Shirley jshir...@gmail.com wrote: What database do you use? In MySQL and SQLite I get no exception at all: Postgresql. $ perl -Ilib -e 'use MyApp; my $obj = MyApp-model('Schema::User')-find(bogus); print defined? . ( defined $obj ? yes : no ) . \n';

Re: [Catalyst] Debian recommendation

2009-10-17 Thread Octavian Râşniţă
From: J. Shirley jshir...@gmail.com cpan look ModuleName $ perl Makefile.PL $ make $ make test $make install I can install the modules without problem (usually). However, I need to manually install each dependency. I've seen this strange thing under 2 Debian systems so I think it is not a

[Catalyst] Re: Debian recommendation

2009-10-17 Thread Daniel Pittman
Octavian Râşniţă orasn...@gmail.com writes: From: Daniel Pittman dan...@rimspace.net Octavian Râşniţă orasn...@gmail.com writes: As a side note, Octavian, your mail client didn't quote any of my text, which made it quite tricky to work out what you and I both said. ;) I've seen a

Re: [Catalyst] Debian recommendation

2009-10-17 Thread Tomas Doran
On 17 Oct 2009, at 13:38, Octavian Râşniţă wrote: Can you tell me more about this last step? I have tried to put in Makefile.PL: use FindBin; use local::lib $FindBin::Bin/support; But when I run it, it still tries to write to /var/www which is the home dir of www-data user (the current

Re: [Catalyst] Re: Validating single arg id

2009-10-17 Thread Bill Moseley
On Sat, Oct 17, 2009 at 12:50 PM, Aristotle Pagaltzis pagalt...@gmx.dewrote: * iain iainhubb...@googlemail.com [2009-10-16 17:30]: until we did this we had boilerplate validation at the top of all the local actions. ++ Bill, in another thread you asked me for an example of how Chained

Re: [Catalyst] Re: Adding default query parameters to generated links.

2009-10-17 Thread Bill Moseley
On Sat, Oct 17, 2009 at 12:42 PM, Aristotle Pagaltzis pagalt...@gmx.dewrote: * Tomas Doran bobtf...@bobtfish.net [2009-10-13 00:00]: I'd very likely go with this myself. You can apply it as a role, and then trivially remove it later, it's wrapping one method and so low impact, and there