[Catalyst] Environment Variables
Ashley
apv at sedition.com
Wed Feb 27 22:44:41 GMT 2008
On Feb 27, 2008, at 2:39 PM, Ryan Pack wrote:
> Hello all. First time posting here. J
>
> I’m trying to get at $ENV{HTTP_REFERER} from my catalyst app but it
> doesn’t seem to be there. In fact the only keys that exist in %ENV
> are CATALYST_ENGINE and PERL5LIB. Are the others being wiped out
> somehow? Not sure if this is normal Catalyst behavior. Thanks!
>
>
>
That info is in $c->request->referer _when_ it's present. Generally
you want to avoid the ENV stuff, though I believe there is a plugin
to get at it if you really need some part of it not already exposed.
-Ashley
More information about the Catalyst
mailing list