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

perl -V with default_inc_excludes_dot, please

Thread Next
From:
Andreas Koenig
Date:
February 25, 2017 05:02
Subject:
perl -V with default_inc_excludes_dot, please
Message ID:
87fuj2oocf.fsf@k85.linux.bogus
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?

Current state of -V:

% /home/sand/src/perl/repoperls/installed-perls/host/k93x64xenial/v5.25.10/b4eb/bin/perl -V|grep -i default_inc
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93x64xenial/v5.25.10/b4eb -Dmyhostname=k93x64xenial -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -Ddefault_inc_excludes_dot'

Same perl with -V:'.*':

% /home/sand/src/perl/repoperls/installed-perls/host/k93x64xenial/v5.25.10/b4eb/bin/perl -V:'.*'|grep -i default_inc
config_arg11='-Ddefault_inc_excludes_dot';
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93x64xenial/v5.25.10/b4eb -Dmyhostname=k93x64xenial -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -Ddefault_inc_excludes_dot';
default_inc_excludes_dot='define';

I'd like to have -V produce a
C<default_inc_excludes_dot=(define|undef)>, just like we have it for
d_sigaction of uselongdouble. It would standout better.

What do you think?

-- 
andreas

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