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
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/