[Catalyst] hostname

Octavian Rasnita orasnita at gmail.com
Thu Jan 10 18:54:06 GMT 2008


From: "Carl Johnstone" <catalyst at fadetoblack.me.uk>
> Both the context object and the hostname should be available to code 
> within MyApp.pm, but only if the code is running during a request.

Ok, but how to get the hostname during a request in MyApp.pm if a $c 
variable is not available?

Octavian




More information about the Catalyst mailing list