Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-10-21 02:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.