On 2004-09-09, Rhesa Rozendaal <[EMAIL PROTECTED]> wrote:
>>     return (length $pi) ? $pi : $self->query->param('rm');
>
> That should probably read
>       $self->query->param($self->mode_param());

You are correct this a more general, and thus better, solution. 

>> $self->mode_param('rm', path_info => 1);  
>
> If you do it that way, then how about taking the value for path_info as 
> the path field to use?

So, "path_info => 2" would use the second part of PATH_INFO? works for
me.

        Mark

-- 
http://mark.stosberg.com/ 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to