Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

--Frank

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}.

      --Frank

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-07-28 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls