develooper Front page | perl.perl5.porters | Postings from December 2015

Re: perl -V: list build options one per line?

Thread Previous | Thread Next
From:
demerphq
Date:
December 8, 2015 15:32
Subject:
Re: perl -V: list build options one per line?
Message ID:
CANgJU+U8pB+mNU+4tK=bSpFHsDOY0f6gZH1Ydpve=TG+sa_5UA@mail.gmail.com
On 8 December 2015 at 16:22, Dave Mitchell <davem@iabyn.com> wrote:
> Currently perl -V produces output like:
>
> Characteristics of this binary (from libperl):
>   Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS
>                         PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV
>                         PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>                         PERL_PRESERVE_IVUV PERL_TRACK_MEMPOOL PERL_USE_DEVEL
>                         USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
>                         USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>                         USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
>                         USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
>
> which personally I find very hard visually to spot whether a particular
> option is there, particularly due to the mix of ' ' and '_'. I'd like to
> change it to something like:
>
> Characteristics of this binary (from libperl):
>   Compile-time options:
>     DEBUGGING
>     HAS_TIMES
>     MULTIPLICITY
>     PERLIO_LAYERS
>     PERL_COPY_ON_WRITE
>     PERL_DONT_CREATE_GVSV
>     PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>     PERL_IMPLICIT_CONTEXT
>     PERL_MALLOC_WRAP
>     PERL_PRESERVE_IVUV
>     PERL_TRACK_MEMPOOL
>     PERL_USE_DEVEL
>     USE_64_BIT_ALL
>     USE_64_BIT_INT
>     USE_ITHREADS
>     USE_LARGE_FILES
>     USE_LOCALE
>     USE_LOCALE_COLLATE
>     USE_LOCALE_CTYPE
>     USE_LOCALE_NUMERIC
>     USE_LOCALE_TIME
>     USE_PERLIO
>     USE_PERL_ATOF
>     USE_REENTRANT_API
>
> Any opinions?

I think this is a good idea.

Yves

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