[Maypole] how can I get the third part of the path ?

From: Gabor Szabo (gabor at perl.org.il)
Date: Thu Sep 16 2004 - 20:01:46 BST


How can I get the id part of the regular Maypole path of /table/view/id ?

If id is a number it seems to be the first element of the
$t->{args} array but if id is a string it is not there.

Is there a standard way to get this value ?

As I am using CGI::Maypole I don't have $r->{ar} so currently my best bet
seems to be parsing the .path_info in the CGI::Simple object.

   Gabor

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT