Catalyst has $c->path_to( 'something' )
, so you can directly ask it to give you a path to a file or resource.
Alternatively, you could use $c->config->{ home }
to get your root directory. But that seems a bit hackish and is not guaranteed to work with the next release of Catalyst.