develooper Front page | perl.perl5.porters | Postings from February 2017

Re: perl -V with default_inc_excludes_dot, please

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
February 27, 2017 14:36
Subject:
Re: perl -V with default_inc_excludes_dot, please
Message ID:
20170227153612.06758016@pc09.procura.nl
On Sat, 25 Feb 2017 17:29:25 +0000, Aaron Crane <arc@cpan.org> wrote:

> Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de> wrote:
> > I just discovered that from perl -V alone we find the facts about
> > default_inc_excludes_dot only via config_arg*. Can we have it as a first
> > class config citizen?  
> 
> The attached patch yields:
> 
> $ ./perl -Ilib -V | grep -C3 default_inc_excludes_dot=
>     use64bitall=define
>     uselongdouble=undef
>     usemymalloc=n
>     default_inc_excludes_dot=define
>     bincompat5005=undef
>   Compiler:
>     cc='gcc-mp-4.8'
> 
> Is that what you intended?
> 
> Thanks.

I'm in the process of updating Config::Perl::V to reflect this addition

Questions:

0. Is this important enough a setting to show in the summary?

   See below for what currently ends up in the summary

1. In that vein, what should I do for older perl versions?

   "undef" or undef

Also note that neither "define" nor "undef" are currently standardized:

$ perl -V:use.* | grep -v -e "'define'" -e "'undef'"
usemymalloc='n';
usenm='false';
useopcode='true';
useposix='true';
useshrplib='false';
usevfork='false';


$ perl -MConfig::Perl::V=summary -MDP -wE'DDumper summary'
{   HAS_TIMES        => 1,
    MULTIPLICITY     => 1,
    PERLIO_LAYERS    => 1,
    PERL_COPY_ON_WRITE => 1,
    PERL_DONT_CREATE_GVSV => 1,
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD => 1,
    PERL_IMPLICIT_CONTEXT => 1,
    PERL_MALLOC_WRAP => 1,
    PERL_PRESERVE_IVUV => 1,
    USE_64_BIT_ALL   => 1,
    USE_64_BIT_INT   => 1,
    USE_ITHREADS     => 1,
    USE_LARGE_FILES  => 1,
    USE_LOCALE       => 1,
    USE_LOCALE_COLLATE => 1,
    USE_LOCALE_CTYPE => 1,
    USE_LOCALE_NUMERIC => 1,
    USE_LOCALE_TIME  => 1,
    USE_LONG_DOUBLE  => 1,
    USE_PERLIO       => 1,
    USE_PERL_ATOF    => 1,
    USE_REENTRANT_API => 1,
    archname         => 'x86_64-linux-thread-multi-ld',
    cc               => 'cc',
    ccversion        => '',
    config_args      => '-Duse64bitall -Duselongdouble -Dusethreads -Duseithreads -des',
    d_longdbl        => 'define',
    d_longlong       => 'define',
    doublesize       => 8,
    gccversion       => '5.3.1 20160412 [gcc-5-branch revision 234894]',
    inc_version_list => ' ',
    intsize          => 4,
    ivsize           => 8,
    longdblsize      => 16,
    longlongsize     => 8,
    lseeksize        => 8,
    nvsize           => 16,
    osname           => 'linux',
    osvers           => '4.5.3-1-default',
    patchlevel       => 24,
    revision         => 5,
    subversion       => 0,
    use64bitall      => 'define',
    use64bitint      => 'define',
    useithreads      => 'define',
    uselongdouble    => 'define',
    usemultiplicity  => 'define',
    usemymalloc      => 'n',
    useperlio        => 'define',
    useshrplib       => 'false',
    version          => '5.24.0'
    }

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.25   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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