MakeMaker and data files

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

hi people,
I'm beginning to use MakeMaker and have some problems with it: I need
to install some auxiliary data files, and I can't figure out how to
tell that to MakeMaker.

e.g. I'd like that my final install would include some data files under

so: 1) where do I put them originally? (in lib/etc for example?)
and 2) how do I tell MakeMaker to install them in /etc/projactname ?

Any ideas?

thank you1

Alessandro Magni

Re: MakeMaker and data files

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

This compromise I could accept, but how do I access that install
directory name from my program?



Re: MakeMaker and data files

Quoted text here. Click to load it

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


Site Timeline