[Catalyst] hostname

Ashley apv at sedition.com
Wed Jan 9 07:39:24 GMT 2008


Oh, I was too fast. Blush. You mean without the context object. :(

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




More information about the Catalyst mailing list