Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.


Comment on Re: Makefile.PL and data files
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://917710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2015-07-02 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls