[Catalyst] Overriding uri_for() -- sane? better way
apv
apv at sedition.com
Sun Jan 15 22:53:34 CET 2006
On Sunday, January 15, 2006, at 01:42 PM, Matt S Trout wrote:
> Why not just add a uri_for method to MyApp?
>
> sub uri_for {
> my $self = shift;
> my $uri = $self->NEXT::uri_for(@_);
> $uri =~ s{/index.(?:fcgi|pl)}{};
> $uri;
> }
Why not? Because I are too dumb. Thanks! I promise to read the full
NEXT related docs before asking any more questions today.
More information about the Catalyst
mailing list