[Catalyst] "or die" replacement?
A. Pagaltzis
pagaltzis at gmx.de
Fri Mar 17 02:59:22 CET 2006
* apv <apv at sedition.com> [2006-03-17 02:45]:
>Of course. I chose that code randomly but it brings us back full
>circle to my problem with the default path argument handling. :)
>
>Alla:
> my ( $self, $c, $desired_arg, $no ) = @_;
> die "RC_404" if $no;
Yeah, hate that. Maybe there could be a `strict` mode for Cat
that would work for that; also differentiate between `/foo` and
`/foo/`, because relative URIs get resolved differently between
those two.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Catalyst
mailing list