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

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

Thread Previous | Thread Next
From:
sisyphus1
Date:
December 8, 2015 22:49
Subject:
Re: perl -V: list build options one per line?
Message ID:
A1E2616EB39646088968C10738D166FC@OwnerPC311012
-----Original Message----- 
From: Dave Mitchell
Sent: Wednesday, December 09, 2015 2:22 AM
To: perl5-porters@perl.org
Subject: perl -V: list build options one per line?

> 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

Yes, it's pretty difficult to read.

However, like Tux, I'd regard the extra scrolling of having one option per 
line bothersome.

For a compromise, maybe change the demarcation from 1 space to 2 (or 3) 
spaces .... or something like " * ". I find that makes it much easier to 
read.

Using " * " would be a bit of a nuisance for anyone who wants to 
copy'n'paste the options into a situation where they then had to remove each 
asterisk. (But I don't know if people ever perform such a copy'n'paste.)

Cheers,
Rob



 


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