[Dancer-users] Dancer.pm sets confdir too early

Stéphane stephane at shimaore.net
Mon Apr 26 18:20:40 CEST 2010


>> Agreed. I had seen the DANCER_CONFDIR environment variable, but could
>> not get it to work from within a Perl script or module (using
>> $ENV{DANCER_CONFDIR} = ..) without calling Dancer->import() manually, so
>> that defeated the purpose.

Thinking about it, I didn't try putting it in a BEGIN block. That should 
take care of it.
S.


More information about the Dancer-users mailing list