develooper Front page | perl.perl5.porters | Postings from March 2016

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

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
March 25, 2016 15:31
Subject:
Re: perl -V: list build options one per line?
Message ID:
20160325153049.GJ29332@iabyn.com
On Tue, Dec 08, 2015 at 03:22:09PM +0000, Dave Mitchell 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

The main objection from people seems to have been that it makes the output
longer. Assuming that all the other perl -V output is made one-per-line
too, that makes the blead perl -V on my system expand from 52 lines to 102
lines.  Is that really so terrible?

Personally, I don't want to use multiple columns or multiple spaces: it's
still harder to read than a simple one-per-line. If people are really
really adamant, then I'd accept the suggestion of perl -VV  to trigger
one-per-line output, but it seems like overkill. I'd also in that case
want perlbug  to use 'perl -VV' - i.e. whatever route we go down, I want
the RT emails that go to p5p to display in one-per-line format.

-- 
Never work with children, animals, or actors.

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