Front page | perl.perl5.porters |
Postings from July 2014
Re: command line options
Thread Previous
|
Thread Next
From:
Salve J Nilsen
Date:
July 31, 2014 04:10
Subject:
Re: command line options
Message ID:
alpine.DEB.2.03.1407272344170.8594@pvv.org
Abigail said:
> On Sun, Jul 27, 2014 at 04:16:54PM +0200, H.Merijn Brand wrote:
>> On Sun, 27 Jul 2014 09:41:45 -0400, Peter Martini
>> <petercmartini@gmail.com> wrote:
>>
>>> http://perl5.git.perl.org/perl.git/blob/HEAD:/perl.c#l2946 points out
>>> this is intentional, and that "[the perl -h output] really ought to be
>>> max 23 lines".
>>>
>>> Is that something we still want to hold ourselves too?
>>
>> ab821d7f 1996-03-24 12:18:11 perl-5.002 + 056 2946: /* This message really ought to be max 23 lines.
>>
>> My personal opinion is that we can go over. It is not 1996 anymore
>
> Well, now "everyone" uses tablets and phones with much smaller screens
> than 1996-era monitors had... ;-)
My Linux-based phone ("Jolla", which came on the market in Dec 2013) has
perl-5.16.1 preinstalled. When using the terminal in landscape mode, it has a
screen of 86x24 characters (using a reasonably readable font).
Having said that;
[nemo@Jolla ~]$ perl5.16.2 -h | wc -l
33
...which already "breaks" that limit, even if you don't count the 6 lines of
formatting, header, and doc references.
- Salve
--
#!/usr/bin/env perl
sub AUTOLOAD{$AUTOLOAD=~/.*::(\d+)/;seek(DATA,$1,0);print# Salve Joshua Nilsen
getc DATA}$"="'};&{'";@_=unpack("C*",unpack("u*",':50,$'.# <sjn@foo.no>
'3!=0"59,6!`%%P\0!1)46%!F.Q`%01,`'."\n"));eval "&{'@_'}"; __END__ is near! :)
Thread Previous
|
Thread Next