As in Catalyst action. Currently doing this:
my $action = (split '/', $ENV{PATH_INFO})[1];
So in a request http://localhost/myapp/admin/list_users, the action
would be 'admin', so I can highlight the appropriate navigation link.
But I'd assume there's a better way, something build-in to CGI::App?
--
Richard Jones
##### CGI::Application community mailing list ################
## ##
## To unsubscribe, or change your message delivery options, ##
## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ##
## ##
## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ##
## Wiki: http://cgiapp.erlbaum.net/ ##
## ##
################################################################