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

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

Thread Previous
From:
Dan Collins
Date:
December 8, 2015 15:36
Subject:
Re: perl -V: list build options one per line?
Message ID:
CA+tt54L=bO4juP0W9m5Whtvrs4ZqimcagqrV_1Doj71XV52CQg@mail.gmail.com
I agree, and this would also make it easier to compare two perl -V outputs
side by side or with a diff than the current format does.

--
Dan

On Tue, Dec 8, 2015 at 10:32 AM, demerphq <demerphq@gmail.com> wrote:

> 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


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