Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 perusing the Monastery: (3)
As of 2017-02-28 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (394 votes). Check out past polls.