FAQ
Hello!

I noticed a strange behavious in Catalyst (I'm using version 5.65)
regarding the content of:

$c->req->path

in the "begin" method of my Aintra.pm module (the main one under /lib).
If I call my script with an action ( i.e.
http://www.mydomain.com/Aintra/script/aintra_cgi.pl/main/home ),
$c->req->path correctly contains:

main/home

If, however, I simply call the URL
http://www.mydomain.com/Aintra/script/aintra_cgi.pl , instead of being
empty as I expect, $c->req->path contains the base:

Aintra/script/aintra_cgi.pl

Is that normal?

Thanks, Michele.

--
Michele Beltrame
http://www.varlogarthas.net/
ICQ# 76660101
Informativa privacy: http://www.italpro.net/em.html

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedFeb 24, '06 at 2:30p
activeFeb 24, '06 at 2:30p
posts1
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

Michele Beltrame: 1 post

People

Translate

site design / logo © 2023 Grokbase