[Catalyst] hostname

Ashley apv at sedition.com
Wed Jan 9 07:37:09 GMT 2008


Will I win this game of slapjack?

   $c->request->uri->host

On Jan 8, 2008, at 11:31 PM, Octavian Rasnita wrote:

> Hi,
>
> Is it possible to get the host name in MyApp.pm just like I can do  
> it in a controller using
>
> $c->req->hostname;
>
> Thank you.
>
> Octavian
>
>



More information about the Catalyst mailing list