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