[Catalyst] third parameter ?

Andreas Marienborg omega at palle.net
Mon Jan 23 18:01:27 CET 2006


if the below is in package MyApp:C::Apejens;

then a request for

[% base %]/apejens/method/ape/jens

would result in

$third == 'ape' && $forth == 'jens'

so, yes, they are filled from the url.

andreas

On 23. jan. 2006, at 19.30, raptor wrote:

> hi,
>
> sub method : Local {
> 	my ($self, $c, $third, $forth) = @_;
> 	....
> }
>
> what fills $third, $forth and next... does it come from the URL or  
> what ?
>
> tia
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst




More information about the Catalyst mailing list