in reply to How to get public folders path in Perl Dancer

Dancer -> http://search.cpan.org/grep?cpanid=YANICK&release=Dancer-1.3126&string=public&i=1&n=1&C=0

Dancer -> site:https://metacpan.org/source/YANICK/Dancer-1.3126 public

http://grep.cpan.me/?q=dist%3DDancer+public

-> SETTINGS of Dancer::Config, public-directory of Dancer::Config

my $public = config->{public};

  • Comment on Re: How to get public folders path in Perl Dancer ( config->{public} )

Replies are listed 'Best First'.
Re^2: How to get public folders path in Perl Dancer ( config->{public} )
by pookybear (Initiate) on Aug 17, 2014 at 19:21 UTC
    Thank you so much! I saw the Dancer::Config module but didn't know how to use it. Does that mean that whenever I want to use config helpers in my own modules, I'm going to have to do use Dancer; in that module? Would that be the right way of going about it?