From 0bac45c8ec730e2fa8dc539d8acfd2271778b4bf Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Fri, 17 Jun 2016 13:42:36 +0100 Subject: perl -V: make 'Compile-time options' one per line For improved readability, change: Compile-time options: DEBUGGING MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD ... To: 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 .... --- configpm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'configpm') diff --git a/configpm b/configpm index 21bd3ef4f1..c62f0fc3bf 100755 --- a/configpm +++ b/configpm @@ -478,20 +478,17 @@ sub _V { my ($bincompat, $non_bincompat, $date, @patches) = Internals::V(); - my $opts = join ' ', sort split ' ', "$bincompat $non_bincompat"; - - # wrap at 76 columns. - - $opts =~ s/(?=.{53})(.{1,53}) /$1\n /mg; + my @opts = sort split ' ', "$bincompat $non_bincompat"; print Config::myconfig(); print "\nCharacteristics of this %s: \n"; - print " Compile-time options: $opts\n"; + print " Compile-time options:\n"; + print " $_\n" for @opts; if (@patches) { print " Locally applied patches:\n"; - print "\t$_\n" foreach @patches; + print " $_\n" foreach @patches; } print " Built under %s\n"; -- cgit v1.2.1