Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Makefile.PL and data files

by szabgab (Priest)
on Jul 31, 2011 at 18:12 UTC ( #917710=note: print w/replies, xml ) Need Help??


in reply to Makefile.PL and data files

If you use Module::Install you can call install_share; that would install all the files it finds in the share/ directory of the distribution.

Then at run time you can call

my $share = File::ShareDir::dist_dir('Your::Module');
and it will return the directory where all the content of the share directory was installed.

We use this in Padre.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://917710]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-12-04 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.