|
Posted by Sisyphus on March 22, 2006, 6:28 pm
Please log in for more thread options
> I correct myself on a point: I just checked that if I put my datafiles
> in a directory like projectname/lib/datafiles/... they are all
> installed for good, in my computer under
> /usr/lib/perl5/site_perl/5.8.6/projectname/datafiles/...
>
> This compromise I could accept, but how do I access that install
> directory name from my program?
>
The prefix to that directory will be contained in one of the %Config keys -
I think it's $Config. That being the case, so long as you 'use
Config;' , you can access the directory as
$Config/projectname/datafiles/ .
Cheers,
Rob
|