http://www.perlmonks.org?node_id=539716


in reply to relative paths in catalyst

$c->config->{base} $c->config->{home} gives you the path, where YourApp lives. Perhaps you want $c->config->{home} . '/lib'?

--Frank

update: s/base/home/

Replies are listed 'Best First'.
Re^2: relative paths in catalyst
by holli (Abbot) on Mar 28, 2006 at 15:27 UTC
    On my system, $c->config->{base} is empty :(


    holli, /regexed monk/
      O yes, sorry, it's $c->config->{home}.

      --Frank