Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to install INI file cross platform with Makefile.PL?

by Khen1950fx (Canon)
on Sep 05, 2011 at 00:22 UTC ( #924133=note: print w/replies, xml ) Need Help??


in reply to How to install INI file cross platform with Makefile.PL?

I tried File::ShareDir::Install and File::ShareDir.

File::ShareDir::Install

#!/usr/bin/perl use 5.008008; use strict; use warnings; use ExtUtils::MakeMaker; use File::ShareDir::Install; install_share module => 'My::Profiles' => 'profile'; WriteMakefile(); package MY; use File::ShareDir::Install; sub postamble { my $self = shift; my @ret = File::Share::Install::postamble( $self ); return join "\n", @ret; }
To find the files after installation:

File::ShareDir

#!/usr/bin/perl use strict; use warnings; use File::ShareDir qw(:ALL); dist_dir('My-Profiles');

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-02-20 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.