[Catalyst] Re: get the path to the home

A. Pagaltzis pagaltzis at gmx.de
Sat Sep 29 06:03:32 GMT 2007

* Octavian Rasnita <orasnita at gmail.com> [2007-09-28 14:40]:
> I have a I18N module in my Catalyst application and I want to
> get the path to the home directory of the application. Is it
> possible to get it without hard codding it in that module?

See Catalst::Component::ACCEPT_CONTEXT.

Disregard the suggestions to use __FILE__ or FindBin.

Aristotle Pagaltzis // <http://plasmasturm.org/>

More information about the Catalyst mailing list