develooper Front page | perl.module.build | Postings from October 2010

Re: How to properly install Data Files

Thread Previous
From:
Shlomi Fish
Date:
October 18, 2010 11:24
Subject:
Re: How to properly install Data Files
Message ID:
201010182023.53914.shlomif@iglu.org.il
On Monday 18 October 2010 16:42:56 Alexandr Ciornii wrote:
> Hello, Shlomi
> 
> 2010/10/18 Shlomi Fish <shlomif@iglu.org.il>:
> > On Monday 18 October 2010 13:59:01 David Golden wrote:
> >> If you use a more recent Module::Build, look at the "share_dir"
> >> parameter and File::ShareDir.  That has been more widely tested than a
> >> home-grown solution.
> > 
> > I'm using the Module::Build that comes default with the perl 5 or is
> > installed there. How do I require a more recent version? (Assuming that
> > does what I want it to.).
> 
> If you install latest M::B and does not set "auto_configure_requires"
> key to 0, it will automatically require itself.

I don't understand. Let me investigate from the docs:

{{{
auto_configure_requires

    [version 0.34]

    This parameter determines whether Module::Build will add itself 
automatically to configure_requires (and build_requires) if Module::Build is 
not already there. The required version will be the last 'major' release, as 
defined by the decimal version truncated to two decimal places (e.g. 0.34, 
instead of 0.3402). The default value is true.
}}}

(from http://search.cpan.org/perldoc?Module::Build::API )

I see - thanks.

> Another option is to set
> configure_requires => {
>   'Module::Build' => 0.36,
> }

OK.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About