On Jan 9, 2008, at 11:12 AM, Octavian Rasnita wrote:

From: "Ashley" <[EMAIL PROTECTED]>

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

Yes, that's what I want.
Can't the context object be accessed in MyApp.pm?

Thanks.

Octavian



Currently MyApp.pm *is* the context object. The problem is Catalyst has no idea of the hostname until it sees the request headers - you can have multiple hosts point at the same Catalyst app. Only you know what the hostname is - so you'll have to set it in the config.

-ash


_______________________________________________
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/

Reply via email to