Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Makefile.PL and data files

by szabgab (Priest)
on Jul 31, 2011 at 18:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://917710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found