Subject: | __path_to(...)__ doesn't work? |
Date: | Wed, 14 Oct 2009 14:09:45 +0300 |
To: | <bug-config-jfdi [...] rt.cpan.org> |
From: | Octavian Râşniţă <orasnita [...] gmail.com> |
Hi,
I have used Config::JFDI and in some configuration files I have values like:
myapp.pl:
INCLUDE_PATH => '__path_to(root,templates)__',
or myapp.conf:
INCLUDE_PATH __path_to(root,templates)__
But the result path offered by Config::JFDI is just
'root\\templates'
without the entire path to this directory (although the program that uses
Config::JFDI isn't in the main directory of the Catalyst app, so it
shouldn't be able to find it.
Here is the program I tried:
use strict;
use Config::JFDI;
my $conf = Config::JFDI->new(name => 'BRK', path => 'e:/web/BRK')->get;
use Data::Dumper; print Dumper $conf;
Thank you.
Octavian