Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: relative paths in catalyst

by haoess (Curate)
on Mar 28, 2006 at 15:17 UTC ( #539716=note: print w/ replies, xml ) Need Help??

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'?


update: s/base/home/

Comment on Re: relative paths in catalyst
Select or Download Code
Replies are listed 'Best First'.
Re^2: relative paths in catalyst
by holli (Monsignor) 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}.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539716]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-02-08 13:09 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (276 votes), past polls