[Catalyst] Debian recommendation

2009-10-16 Thread Octavian Râşniţă
Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. For example if I run $ cpan cpan install Class::MOP it gives an Unknown error

Re: [Catalyst] Debian recommendation

2009-10-16 Thread Juan Miguel Paredes
2009/10/17 Octavian Râşniţă orasn...@gmail.com: Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. For example if I run $ cpan

[Catalyst] Validating single arg id

2009-10-16 Thread Bill Moseley
I have a number of methods that start something like this: sub view : Local Args(1) { my ( $self, $c, $id ) = @_; my $obj = $c-model( 'DB::Foo' )-find( $id ) || return $c-res-status( 404 ); If $id is not valid then I might, as in that example, return with a 404 status. Of

Re: [Catalyst] Debian recommendation

2009-10-16 Thread J. Shirley
2009/10/16 Octavian Râşniţă orasn...@gmail.com Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. For example if I run $ cpan

Re: [Catalyst] Validating single arg id

2009-10-16 Thread J. Shirley
On Fri, Oct 16, 2009 at 7:19 AM, Matt Whipple m...@mattwhipple.com wrote: I would probably avoid potentially hitting the database unnecessarily, and only use the exception in the case of complicated validation. In the case of simple validation, why not something simple along the lines of:

Re: [Catalyst] Validating single arg id

2009-10-16 Thread iain
Bill Moseley wrote: I have a number of methods that start something like this: sub view : Local Args(1) { my ( $self, $c, $id ) = @_; my $obj = $c-model( 'DB::Foo' )-find( $id ) || return $c-res-status( 404 ); If $id is not valid then I might, as in that example, return with a

Re: [Catalyst] IE6 shows page cannot be displayed

2009-10-16 Thread Ascii King
Oleg Kostyuk wrote: 2009/10/14 Ascii King t...@swattermatter.com: # Redirect to the list_prior page $c-response-redirect($c-uri_for('list_prior')); Long time ago I have problems with calling uri_for, using string as first argument. For me solution was to use action argument, and now

Re: [Catalyst] Debian recommendation

2009-10-16 Thread Octavian Râşniţă
From: J. Shirley jshir...@gmail.com Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. For example if I run $ cpan cpan install

Re: [Catalyst] Debian recommendation

2009-10-16 Thread J. Shirley
2009/10/16 Octavian Râşniţă orasn...@gmail.com From: J. Shirley jshir...@gmail.com Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN

[Catalyst] Re: Debian recommendation

2009-10-16 Thread Daniel Pittman
Octavian Râşniţă orasn...@gmail.com writes: G'day Octavian. I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. If you forgive me

Re: [Catalyst] Re: Debian recommendation

2009-10-16 Thread Paul Makepeace
On Fri, Oct 16, 2009 at 7:01 PM, Daniel Pittman dan...@rimspace.net wrote: Octavian Râşniţă orasn...@gmail.com writes: G'day Octavian. I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro.  I've seen that I can install perl

Re: [Catalyst] Re: Debian recommendation

2009-10-16 Thread Jason Galea
On Sat, Oct 17, 2009 at 12:33 PM, Paul Makepeace pa...@paulm.com wrote: I recently have completely tossed using Debian's perl packages because, while I do love Debian and all its package awesomeness, there simply wasn't the package lib*-perl support in stable/lenny and even testing/squeeze

[Catalyst] Re: Debian recommendation

2009-10-16 Thread Daniel Pittman
Paul Makepeace pa...@paulm.com writes: On Fri, Oct 16, 2009 at 7:01 PM, Daniel Pittman dan...@rimspace.net wrote: Octavian Râşniţă orasn...@gmail.com writes: I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro.  I've seen that