Skip Menu |
 

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 92495
Status: open
Priority: 0/
Queue: MooseX-Getopt

People
Owner: Nobody in particular
Requestors: demerphq [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From demerphq [...] gmail.com Sun Jan 26 22: 56:45 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com>
X-Received: by 10.224.136.195 with SMTP id s3mr7492509qat.95.1390794990155; Sun, 26 Jan 2014 19:56:30 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.699
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 388D52404ED for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Sun, 26 Jan 2014 22:56:45 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Stavui-TWJ8T for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Sun, 26 Jan 2014 22:56:40 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5C31B240288 for <bug-MooseX-Getopt [...] rt.cpan.org>; Sun, 26 Jan 2014 22:56:40 -0500 (EST)
Received: (qmail 29807 invoked by alias); 27 Jan 2014 03:56:39 -0000
Received: from mail-qc0-f177.google.com (HELO mail-qc0-f177.google.com) (209.85.216.177) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 26 Jan 2014 19:56:34 -0800
Received: by mail-qc0-f177.google.com with SMTP id i8so7225193qcq.36 for <bug-MooseX-Getopt [...] rt.cpan.org>; Sun, 26 Jan 2014 19:56:30 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Sun, 26 Jan 2014 19:56:30 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
X-RT-Mail-Extension: moosex-getopt
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nNe7ke3yRoO5UGeYTj2MOUUWDCYleCD+3fGLKJ5jBW4=; b=UzkYjv/fYx/SpXfiqFmLffuzZrRlZc0HJnfCz6g2i03Q5y9pi7pCSIjSTPWgYsEm+G Izi4sWZwvxPXyp06slucaRQp2J2bPz0+9rRh2FSLbsmVr3Rci3FIae9oFk/0qv6hkJXC zSFA7F8yJzhTTCLIJ/zx/61oyNQ7+tSA+Kwh/cacKtA1MjxbRoYskc8kmd/DmFqfPilU MzyHyCB2qSOtotmHX1QagL6XkK21f6PfVmLKqNPXN6wJ0aj96AK/8+ZzIwIU/hwxJ9wH mh7UXb1/KWJuMXLW3rn+ollhEj1A1PvmiZ2mY0d5N5wbnOr3oYpvoYRMATd/W9m6Knek tlYw==
Date: Mon, 27 Jan 2014 11:56:30 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
X-RT-Original-Encoding: iso-8859-1
X-RT-Interface: Email
Content-Length: 1091
Getopt::Long includes a "standard" template for using Getopt::Long with Pod::Usage, in particular it recommends that users support the following: my $man = 0; my $help = 0; GetOptions('help|?' => \$help, man => \$man) or pod2usage(2); pod2usage(1) if $help; pod2usage(-exitval => 0, -verbose => 2) if $man; MooseX-Getopt does not follow the recommendation to support "--man". This means there is no easy way other than "perldoc" to view full manuals for MooseX-Getopt based scripts. I consider this a bug as perldoc does not show the pod file correctly as compared to supporting the --man option. Obviously one can manually add such support to a script, but it seems an unnecessary requirement to force everyone to do this. Please add support for the --man option so that MooseX-Getopt scripts have an easy way to show the full manual and are "interface" compatible with the long recommended template in Getopt::Long (10 years or more) Note this parameter is especially useful on *non* *nix systems where man does not exist. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
X-Sa-Exim-Connect-Ip: 69.50.167.197
MIME-Version: 1.0
X-Spam-Flag: NO
X-Acl-Warn: !authenticated = *
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -1.837
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 333BA2404ED for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 00:08:29 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yv8SvieXchN4 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 00:08:24 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id DA7CE240288 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 00:08:23 -0500 (EST)
Received: (qmail 1488 invoked by alias); 27 Jan 2014 05:08:23 -0000
Received: from ns2.lightspeed.ca (HELO ns2.lightspeed.ca) (206.12.82.4) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 26 Jan 2014 21:08:16 -0800
Received: from 69-50-167-197.westerncable.ca ([69.50.167.197] helo=etheridge.ca) by ns2.lightspeed.ca with esmtp (Exim 4.72) (envelope-from <ether [...] cpan.org>) id 1W7eQc-00076B-Oc for bug-MooseX-Getopt [...] rt.cpan.org; Sun, 26 Jan 2014 21:08:10 -0800
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
X-Sa-Exim-Mail-From: ether [...] cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Sun, 26 Jan 2014 21:08:09 -0800
X-Sa-Exim-Scanned: No (on ns2.lightspeed.ca); SAEximRunCond expanded to false
X-Spam-Level:
X-Spam-Bar: /
To: demerphq via RT <bug-MooseX-Getopt [...] rt.cpan.org>
From ether [...] cpan.org Mon Jan 27 00: 08:29 2014
In-Reply-To: <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-1.837 tagged_above=-99.9 required=10 tests=[AWL=0.063, BAYES_00=-1.9] autolearn=ham
Content-Disposition: inline
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org>
X-Spam-Score-Int: 0
Message-ID: <20140127050809.GA38395 [...] tequila.westerncable.ca>
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <ether [...] cpan.org>
X-RT-Mail-Extension: moosex-getopt
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Mail-Followup-To: demerphq via RT <bug-MooseX-Getopt [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
RT-Message-ID: <rt-4.0.18-816-1390799309-22.92495-0-0 [...] rt.cpan.org>
Content-Length: 402
Download (untitled) / with headers
text/plain 402b
On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote: Show quoted text
> Please add support for the --man option so that MooseX-Getopt scripts > have an easy way to show the full manual and are "interface" > compatible with the long recommended template in Getopt::Long (10 > years or more)
I'm not sure I understand -- passing the option '--man' should result in the equivalent of 'perldoc <executable>'?
From demerphq [...] gmail.com Mon Jan 27 00: 14:11 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.91.12 with SMTP id y12mr37269048qgd.26.1390799642920; Sun, 26 Jan 2014 21:14:02 -0800 (PST)
Message-ID: <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0D5C2240E1D for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 00:14:11 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XNFvm7+Epqvk for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 00:14:10 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9F7382404ED for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 00:14:09 -0500 (EST)
Received: (qmail 2125 invoked by alias); 27 Jan 2014 05:14:08 -0000
Received: from mail-qc0-f177.google.com (HELO mail-qc0-f177.google.com) (209.85.216.177) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 26 Jan 2014 21:14:07 -0800
Received: by mail-qc0-f177.google.com with SMTP id i8so7238722qcq.8 for <bug-MooseX-Getopt [...] rt.cpan.org>; Sun, 26 Jan 2014 21:14:03 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Sun, 26 Jan 2014 21:14:02 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ldb8FnvBzzOkLVZNCicjH1TFieuLvlT3qEfjCB63+zc=; b=lGR1rWNrLq19DBe7t1PEvywwcVXg0wf9b9M/uDzS42ea6cKvffYWqjBvv56wwo1Xkt XMMmlqRphR21ISCpTACDt1reCUIuU735PT75q6T5/9XBMoWb09kLJLQdR/W2aW/uwB7g HKS1+X60cuYFmaChcjJYpRZG1qt/JGiO/o4UrewOnv1a3a3/OF+qD9DA8umcr1NaGWTO tdk+ibR7oxYwmH6kY7zusHBCuttXIaIMmAKbd/RI6/jrD80vaYGHjBCXy6zazGZeBah1 7ej6o0uPL6rD3VN3l2C6klXOtxbSNLu8FEJSNUAucRyf24PsrdEGkgXYYgOHWK6cN9gi hIvA==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 13:14:02 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-21516-1390799651-1261.92495-0-0 [...] rt.cpan.org>
Content-Length: 835
Download (untitled) / with headers
text/plain 835b
On 27 January 2014 13:08, Karen Etheridge via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>> Please add support for the --man option so that MooseX-Getopt scripts >> have an easy way to show the full manual and are "interface" >> compatible with the long recommended template in Getopt::Long (10 >> years or more)
> > I'm not sure I understand -- passing the option '--man' should result in > the equivalent of 'perldoc <executable>'?
Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) does. The advantages are that one doesn't need to know the path to the executable, and one doesn't need an installed perldoc application either. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From stevan.little [...] iinteractive.com Mon Jan 27 08: 53:37 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org> <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com> <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.88.112 with SMTP id s103mr40789915qgd.47.1390830800049; Mon, 27 Jan 2014 05:53:20 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 43E3A2404CA for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 08:53:37 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cppPw24kDUGR for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 08:53:32 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9B578240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 08:53:31 -0500 (EST)
Received: (qmail 2231 invoked by alias); 27 Jan 2014 13:53:31 -0000
Received: from mail-qa0-f52.google.com (HELO mail-qa0-f52.google.com) (209.85.216.52) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 05:53:24 -0800
Received: by mail-qa0-f52.google.com with SMTP id j15so7195443qaq.39 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 05:53:20 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id m9sm25482206qaz.8.2014.01.27.05.53.19 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 05:53:19 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=NpIaoV3fZUudgQKhGU2smxkXvZN7Afrypus0RKHnShw=; b=j8WYPtu9Sluoa9iFL+sa7YWocOUkiDYopTTRF3nXlURgGzmPNSizbRyV80sfnw39CU tmcDs6uy3V83gD4oFzyWKYNVSf4Puh5ScbxD9+Z/SQMJnLDLR+LHdxa76ZA55Kj1fWMM qqSZY1bBHBcxCwOu+lkehfsRaeRzlO1ICmclcaBe8yqWVhont1eolEuQbnT6KVN9a3lM p+2Qhtl13SeCL/IwM8nTbPCfMW1k1Xom29ceAZbaUDXmqEn6LM59us0gi8onI/W6qLKg HWpGf6Wf664PDnlJ9US3YFlHMktf0FhGhzCsY7G4RaKSNkOQYlW1sulFqZBAF9noxpoR gcKQ==
Date: Mon, 27 Jan 2014 08:53:18 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQkoaeQ18iuC2G8VUS+gfuOecmh02dzprsG0ZZ9PnFv6brUDcGZeZqHxQEljR8D8fbmyZBCr
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-19507-1390830818-38.92495-0-0 [...] rt.cpan.org>
Content-Length: 1467
Download (untitled) / with headers
text/plain 1.4k
On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On 27 January 2014 13:08, Karen Etheridge via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>> Please add support for the --man option so that MooseX-Getopt scripts >>> have an easy way to show the full manual and are "interface" >>> compatible with the long recommended template in Getopt::Long (10 >>> years or more)
>> >> I'm not sure I understand -- passing the option '--man' should result in >> the equivalent of 'perldoc <executable>'?
> > Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) does. > > The advantages are that one doesn't need to know the path to the > executable, and one doesn't need an installed perldoc application > either.
Currently MooseX::Getopt does not actually support even --help in the way you describe, only if Getopt::Long::Descriptive is installed will MooseX::Getopt attempt to provide a --help (which it does by inspecting some meta-level stuff on the attributes). I think perhaps that this makes more sense as a role, which looks to have already been done with MooseX::Getopt::Usage (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would fulfill your needs? - Stevan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-19507-1390830818-38.92495-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org> <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com> <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org> <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com> <rt-4.0.18-19507-1390830818-38.92495-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-18748-1390831017-1022.92495-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1761
Download (untitled) / with headers
text/plain 1.7k
On Mon Jan 27 08:53:38 2014, STEVAN wrote: Show quoted text
> > On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- > Getopt@rt.cpan.org> wrote: >
> > Queue: MooseX-Getopt > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > > On 27 January 2014 13:08, Karen Etheridge via RT > > <bug-MooseX-Getopt@rt.cpan.org> wrote:
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > >> > >> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
> >>> Please add support for the --man option so that MooseX-Getopt > >>> scripts > >>> have an easy way to show the full manual and are "interface" > >>> compatible with the long recommended template in Getopt::Long (10 > >>> years or more)
> >> > >> I'm not sure I understand -- passing the option '--man' should > >> result in > >> the equivalent of 'perldoc <executable>'?
> > > > Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) > > does. > > > > The advantages are that one doesn't need to know the path to the > > executable, and one doesn't need an installed perldoc application > > either.
> > Currently MooseX::Getopt does not actually support even --help in the > way you describe, only if Getopt::Long::Descriptive is installed will > MooseX::Getopt attempt to provide a --help (which it does by > inspecting some meta-level stuff on the attributes). > > I think perhaps that this makes more sense as a role, which looks to > have already been done with MooseX::Getopt::Usage > (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would > fulfill your needs? > > - Stevan
MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. Maybe worth checking out see if it fits your needs ?
From stevan.little [...] iinteractive.com Mon Jan 27 09: 02:52 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-18748-1390831018-382.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org> <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com> <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org> <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com> <rt-4.0.18-19507-1390830818-38.92495-5-0 [...] rt.cpan.org> <rt-4.0.18-18748-1390831018-382.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.224.15.76 with SMTP id j12mr43319918qaa.74.1390831353910; Mon, 27 Jan 2014 06:02:33 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <D9CFBD1D-4375-4FA3-9904-01605242E11C [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6B25D2404CA for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:02:52 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekXndFY7-IL5 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:02:46 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 779C7240E83 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:02:42 -0500 (EST)
Received: (qmail 2946 invoked by alias); 27 Jan 2014 14:02:42 -0000
Received: from mail-qc0-f177.google.com (HELO mail-qc0-f177.google.com) (209.85.216.177) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:02:37 -0800
Received: by mail-qc0-f177.google.com with SMTP id i8so7886461qcq.22 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:02:34 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id w7sm25507886qaj.23.2014.01.27.06.02.33 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:02:33 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=xbmgf3cQ04t2aIJ3vOlv/ClFP2PSOeEqDXWkmhsQy1I=; b=g1mCKveelUGs15r7JXKWMvHahXdxvLFuuFIC25TEvlnvqNWI2wlICOCsFYGQNVfnOu /d+RFsWqe2WG7taGBI6cFXB3eSCBkmaYprS5w9zqtU6W1FLhEU7B8REo8R9PC6hsj0nX /MVDCI9vts91/9x+BqQERgYskkezKGHzbvOvKYR9sdRrRb9ie540yIE9RESOwMHpLE1t iJPcVpINv+XqvyhlltvD2QXE4vAS8AxaokEAjvbVDsTkW9Kzjj6s5Mp9Ac2l8cY74Vv0 BkkOyj9d4vz1ZAQ6X1HIZkVPnmcy951aE4tfz1wRI3WqZycy+ltHuS3duKmMWZEHBz99 toqw==
Date: Mon, 27 Jan 2014 09:02:32 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQmwQx9Wjl3xsCCYH9jq3r3E5aQTiATA7y3P9VX8V6bXwfJm6cOGTspy50r6xRxISGD4S04j
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-18748-1390831373-1154.92495-0-0 [...] rt.cpan.org>
Content-Length: 2467
Download (untitled) / with headers
text/plain 2.4k
On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>> >> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >> Getopt@rt.cpan.org> wrote: >>
>>> Queue: MooseX-Getopt >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On 27 January 2014 13:08, Karen Etheridge via RT >>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>> Please add support for the --man option so that MooseX-Getopt >>>>> scripts >>>>> have an easy way to show the full manual and are "interface" >>>>> compatible with the long recommended template in Getopt::Long (10 >>>>> years or more)
>>>> >>>> I'm not sure I understand -- passing the option '--man' should >>>> result in >>>> the equivalent of 'perldoc <executable>'?
>>> >>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>> does. >>> >>> The advantages are that one doesn't need to know the path to the >>> executable, and one doesn't need an installed perldoc application >>> either.
>> >> Currently MooseX::Getopt does not actually support even --help in the >> way you describe, only if Getopt::Long::Descriptive is installed will >> MooseX::Getopt attempt to provide a --help (which it does by >> inspecting some meta-level stuff on the attributes). >> >> I think perhaps that this makes more sense as a role, which looks to >> have already been done with MooseX::Getopt::Usage >> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >> fulfill your needs? >> >> - Stevan
> > MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. > > Maybe worth checking out see if it fits your needs ?
Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support. - Stevan
From demerphq [...] gmail.com Mon Jan 27 09: 06:02 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-19507-1390830819-1233.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-816-1390799311-1260.92495-6-0 [...] rt.cpan.org> <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com> <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org> <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com> <rt-4.0.18-19507-1390830819-1233.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.26.43 with SMTP id 40mr40569116qgu.86.1390831547041; Mon, 27 Jan 2014 06:05:47 -0800 (PST)
Message-ID: <CANgJU+V9EVVEZC4g2_42MwZ2U-eUcH_HDhht+gkSdZ0eJtYO1w [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6EFE8240DD2 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:06:02 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id erBXx7T79Fk1 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:05:57 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4657B2404CA for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:05:57 -0500 (EST)
Received: (qmail 3205 invoked by alias); 27 Jan 2014 14:05:56 -0000
Received: from mail-qa0-f53.google.com (HELO mail-qa0-f53.google.com) (209.85.216.53) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:05:50 -0800
Received: by mail-qa0-f53.google.com with SMTP id cm18so7141933qab.40 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:05:47 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:05:46 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZBJXrrLD98pNd+YMsDv9u4OFLnvoZYFrnYdDT/L3MP4=; b=BXj8CfIDsimlaaL0iPyfp3RvdIaUgI785QVA5ufDKc+SUMIykNRvG5hau3/DNaxmjB s1zlNHWUuobYG4M51sTgYYr88awPA1NSDd5x9YvMs1BdgeMmcti1qDa1h4wQtbo9GuAS NAa4peG2eNXVQu0zaTfaY/MxnwiamYwFFNFYBVgIg013x+FRbxcyVqC6VZnF6f0aqrT7 xl6xnx23cgm34020OMiKhEuPMMhXF8jZmTIpQeFAos9LhlGtV8td3SI50mNlujG83HYe +W8aPWJaFwNG31yKpD3Ljd32eI7aCEPUav1/PB7LUlaLbqTytR8ROHIBQ0biEt4nGCym YO4Q==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:05:46 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-4381-1390831564-1223.92495-0-0 [...] rt.cpan.org>
Content-Length: 2184
Download (untitled) / with headers
text/plain 2.1k
On 27 January 2014 21:53, Stevan Little via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >
>> Queue: MooseX-Getopt >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> On 27 January 2014 13:08, Karen Etheridge via RT >> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>> Please add support for the --man option so that MooseX-Getopt scripts >>>> have an easy way to show the full manual and are "interface" >>>> compatible with the long recommended template in Getopt::Long (10 >>>> years or more)
>>> >>> I'm not sure I understand -- passing the option '--man' should result in >>> the equivalent of 'perldoc <executable>'?
>> >> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) does. >> >> The advantages are that one doesn't need to know the path to the >> executable, and one doesn't need an installed perldoc application >> either.
> > Currently MooseX::Getopt does not actually support even --help in the way you describe, only if Getopt::Long::Descriptive is installed will MooseX::Getopt attempt to provide a --help (which it does by inspecting some meta-level stuff on the attributes).
Sorry, I should have said that this was against MooseX::Getopt::GLD. Show quoted text
> I think perhaps that this makes more sense as a role, which looks to have already been done with MooseX::Getopt::Usage (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would fulfill your needs?
Yes, indeed. Thanks. Perhaps MooseX::Getopt should mention this module and even maybe recommend it? I personally consider the stub template in Getopt::Long to be normative in terms of what a well behaved Perl application should support, and I consider it a bug that MooseX::Getopt doesn't support it. If the module documented that well behaved apps should use MooseX::Getopt::Usage then that would totally resolve my concerns. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From demerphq [...] gmail.com Mon Jan 27 09: 07:14 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-18748-1390831373-722.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <CANgJU+UosdqpLCv1Ax4qPBXp1V4-ke307wMG6cx57nM=iD9vSw [...] mail.gmail.com> <rt-4.0.18-21516-1390799651-1333.92495-5-0 [...] rt.cpan.org> <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com> <rt-4.0.18-19507-1390830818-38.92495-5-0 [...] rt.cpan.org> <rt-4.0.18-18748-1390831018-382.92495-5-0 [...] rt.cpan.org> <D9CFBD1D-4375-4FA3-9904-01605242E11C [...] iinteractive.com> <rt-4.0.18-18748-1390831373-722.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.80.167 with SMTP id c36mr40003697qgd.79.1390831622152; Mon, 27 Jan 2014 06:07:02 -0800 (PST)
Message-ID: <CANgJU+UVO7hfTZrxt-8PT7_x6m3HGvyGZYUAhu-g3z-ybeyL1A [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 84D23240E9C for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:07:14 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oCgrdo7v8iQC for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:07:13 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id F414F2404CA for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:07:12 -0500 (EST)
Received: (qmail 3365 invoked by alias); 27 Jan 2014 14:07:12 -0000
Received: from mail-qa0-f52.google.com (HELO mail-qa0-f52.google.com) (209.85.216.52) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:07:05 -0800
Received: by mail-qa0-f52.google.com with SMTP id j15so7140975qaq.25 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:07:02 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:07:02 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8UWBtMDvRcho9CiGTTW1HLiulCu2kZWGMR4kDTXijDM=; b=uH4/UxW1A1enS8a5ORHSsCM5M1rqPrie+RZVww8yAiLJI58FOviRaqu6Ua1OCpoFiw Deg7021cCJvFbUTN0fxMPb1FksGOmOnSd/a8sJqDtTdU3+XShMKJuEAAk+9bCzDc0FWl G6YGTw/61nmLTHNEcurbEXLIWqplamsPcB0cvI0GzLxWA1I3gv0vcHQnFn4y13MjqxL4 cUd3fGUaOueN0m/F9S7vKA0YXskOtwDfw0Q46Bc2UFA0UDRetqbQcpJEYyIH+zGryPxq mOubavb7BkqkK+ar2e7h3gCbbZxsHJLeKh3aLBQ5NiztTosftlYN4W+e1XIZbPCTRYMv BouQ==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:07:02 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-28044-1390831635-398.92495-0-0 [...] rt.cpan.org>
Content-Length: 2800
Download (untitled) / with headers
text/plain 2.7k
On 27 January 2014 22:02, Stevan Little via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >
>> Queue: MooseX-Getopt >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>> >>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>> Getopt@rt.cpan.org> wrote: >>>
>>>> Queue: MooseX-Getopt >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>> scripts >>>>>> have an easy way to show the full manual and are "interface" >>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>> years or more)
>>>>> >>>>> I'm not sure I understand -- passing the option '--man' should >>>>> result in >>>>> the equivalent of 'perldoc <executable>'?
>>>> >>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>> does. >>>> >>>> The advantages are that one doesn't need to know the path to the >>>> executable, and one doesn't need an installed perldoc application >>>> either.
>>> >>> Currently MooseX::Getopt does not actually support even --help in the >>> way you describe, only if Getopt::Long::Descriptive is installed will >>> MooseX::Getopt attempt to provide a --help (which it does by >>> inspecting some meta-level stuff on the attributes). >>> >>> I think perhaps that this makes more sense as a role, which looks to >>> have already been done with MooseX::Getopt::Usage >>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>> fulfill your needs? >>> >>> - Stevan
>> >> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >> >> Maybe worth checking out see if it fits your needs ?
> > Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
To avoid further arguments with colleagues I would be ever so grateful if you documented this. :-) Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From stevan.little [...] iinteractive.com Mon Jan 27 09: 11:15 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <289AE0D6-0E2E-448F-B0EB-AC7FA66F7814 [...] iinteractive.com> <rt-4.0.18-19507-1390830818-38.92495-5-0 [...] rt.cpan.org> <rt-4.0.18-18748-1390831018-382.92495-5-0 [...] rt.cpan.org> <D9CFBD1D-4375-4FA3-9904-01605242E11C [...] iinteractive.com> <rt-4.0.18-18748-1390831373-722.92495-6-0 [...] rt.cpan.org> <CANgJU+UVO7hfTZrxt-8PT7_x6m3HGvyGZYUAhu-g3z-ybeyL1A [...] mail.gmail.com> <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.18.142 with SMTP id 14mr9536087qgf.105.1390831860222; Mon, 27 Jan 2014 06:11:00 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <32078210-4AE4-4C53-8002-E098A7E02574 [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id CAA0E240E83 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:11:15 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43PfZ6jaBfhB for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:11:10 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8C2622404CA for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:11:10 -0500 (EST)
Received: (qmail 3866 invoked by alias); 27 Jan 2014 14:11:10 -0000
Received: from mail-qa0-f47.google.com (HELO mail-qa0-f47.google.com) (209.85.216.47) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:11:04 -0800
Received: by mail-qa0-f47.google.com with SMTP id j5so7177495qaq.20 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:11:00 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id 67sm8480215qgr.15.2014.01.27.06.10.59 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:10:59 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=nYMlpPJG1XtxnLqfI+fU7/AW1PVAOL9E7OkKVhPc79E=; b=NGKPSxL0sWpps425uuG36HGQVYBCs3Za8JHeZYclq+lODRTUrjFpO9O1KS8M5n0ERL TePgynzo60dfLe6nbr6TniHMFJumTYVfyWDaRA6VXpAwBwSeIdjBWDWDGE0x0koTtWY1 3thiwffIn4n7pHreJLLnrIGE03fR7slX6+Hnmooa6qx18vNiYgFL+KGUCW0YR/JuacaK E290DTnpq47qzpKaKEmrWN1Zug+lVhLglcqnWX4RJJw2Xbr7OD45R3ODhG3z46f5LIr5 4l4Uinvjy36GE32eRqLEccMjXaYgc9zEwY5wFrV/D0p3TKJNbZKtufKtjrYhPPVRLkUh ZOJg==
Date: Mon, 27 Jan 2014 09:10:58 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQkNTTqSueBQE5VyiOyP1unkloyti6IxJgG2H7DMGrmiOohfh4McfWh4wWYOsR1JFONH5dAd
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-10836-1390831876-494.92495-0-0 [...] rt.cpan.org>
Content-Length: 3075
On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On 27 January 2014 22:02, Stevan Little via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> >> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>
>>> Queue: MooseX-Getopt >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>> >>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>> Getopt@rt.cpan.org> wrote: >>>>
>>>>> Queue: MooseX-Getopt >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>> >>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>> scripts >>>>>>> have an easy way to show the full manual and are "interface" >>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>> years or more)
>>>>>> >>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>> result in >>>>>> the equivalent of 'perldoc <executable>'?
>>>>> >>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>> does. >>>>> >>>>> The advantages are that one doesn't need to know the path to the >>>>> executable, and one doesn't need an installed perldoc application >>>>> either.
>>>> >>>> Currently MooseX::Getopt does not actually support even --help in the >>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>> MooseX::Getopt attempt to provide a --help (which it does by >>>> inspecting some meta-level stuff on the attributes). >>>> >>>> I think perhaps that this makes more sense as a role, which looks to >>>> have already been done with MooseX::Getopt::Usage >>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>> fulfill your needs? >>>> >>>> - Stevan
>>> >>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>> >>> Maybe worth checking out see if it fits your needs ?
>> >> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
> > To avoid further arguments with colleagues I would be ever so grateful > if you documented this. :-) >
Haha, okay, I will throw something together then. - Stevan
From demerphq [...] gmail.com Mon Jan 27 09: 21:56 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-18748-1390831018-382.92495-5-0 [...] rt.cpan.org> <D9CFBD1D-4375-4FA3-9904-01605242E11C [...] iinteractive.com> <rt-4.0.18-18748-1390831373-722.92495-6-0 [...] rt.cpan.org> <CANgJU+UVO7hfTZrxt-8PT7_x6m3HGvyGZYUAhu-g3z-ybeyL1A [...] mail.gmail.com> <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org> <32078210-4AE4-4C53-8002-E098A7E02574 [...] iinteractive.com> <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.224.114.141 with SMTP id e13mr31866340qaq.65.1390832500617; Mon, 27 Jan 2014 06:21:40 -0800 (PST)
Message-ID: <CANgJU+XLDSGQ8e7n4uyQdCWEwxsU0_PEw_78k8jF4gJdpS2gcQ [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8A878240E83 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:21:56 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7YwcQrtpG65E for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:21:51 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2C167240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:21:50 -0500 (EST)
Received: (qmail 4690 invoked by alias); 27 Jan 2014 14:21:50 -0000
Received: from mail-qa0-f48.google.com (HELO mail-qa0-f48.google.com) (209.85.216.48) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:21:44 -0800
Received: by mail-qa0-f48.google.com with SMTP id f11so7238310qae.21 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:21:40 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:21:40 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=W2dUQmR0wOikA6OO/BoNlmYlP2TZVBRCo/0fEaUD0qE=; b=SiJrLwOzc9j+gTgPsxkoLYa+tSoduCEB3dal1VJgzNNPFcVcbdFDTJwWsimnGRxgaX 0gmrhL8go23E+8WX9nzyhcBi+2cq7DcM+ikn3//2Y+6yHLJ6CnBqDI1uC6YLqj9dhCz8 oSAfyqJvYShsIV+0de4oercRcQAuZaDqIwckChqSIyoX1mnyGKV1egbDIgNddIkNZ8xX SkbxpKENeqY093n7nGa4WfXVdMlj3ksZqwjy8DhylEr5NBrhcK8sxymX9O1azr+JbeBJ 2SVVu1gX9xR6SI2qENBi5hA5hQDlfM0/VrkCVDIQmmNzLuLbChzu9WMD2cNO1n0X6HB+ S4WA==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:21:40 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-4381-1390832517-942.92495-0-0 [...] rt.cpan.org>
Content-Length: 3369
Download (untitled) / with headers
text/plain 3.2k
On 27 January 2014 22:11, Stevan Little via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >
>> Queue: MooseX-Getopt >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> On 27 January 2014 22:02, Stevan Little via RT >> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> >>> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>
>>>> Queue: MooseX-Getopt >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>>> >>>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>>> Getopt@rt.cpan.org> wrote: >>>>>
>>>>>> Queue: MooseX-Getopt >>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>> >>>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>> >>>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>>> scripts >>>>>>>> have an easy way to show the full manual and are "interface" >>>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>>> years or more)
>>>>>>> >>>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>>> result in >>>>>>> the equivalent of 'perldoc <executable>'?
>>>>>> >>>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>>> does. >>>>>> >>>>>> The advantages are that one doesn't need to know the path to the >>>>>> executable, and one doesn't need an installed perldoc application >>>>>> either.
>>>>> >>>>> Currently MooseX::Getopt does not actually support even --help in the >>>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>>> MooseX::Getopt attempt to provide a --help (which it does by >>>>> inspecting some meta-level stuff on the attributes). >>>>> >>>>> I think perhaps that this makes more sense as a role, which looks to >>>>> have already been done with MooseX::Getopt::Usage >>>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>>> fulfill your needs? >>>>> >>>>> - Stevan
>>>> >>>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>>> >>>> Maybe worth checking out see if it fits your needs ?
>>> >>> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
>> >> To avoid further arguments with colleagues I would be ever so grateful >> if you documented this. :-) >>
> > Haha, okay, I will throw something together then.
Cheers man. Much obliged. Beer++ next you visit! Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From stevan.little [...] iinteractive.com Mon Jan 27 09: 31:09 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-18748-1390831373-722.92495-6-0 [...] rt.cpan.org> <CANgJU+UVO7hfTZrxt-8PT7_x6m3HGvyGZYUAhu-g3z-ybeyL1A [...] mail.gmail.com> <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org> <32078210-4AE4-4C53-8002-E098A7E02574 [...] iinteractive.com> <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org> <CANgJU+XLDSGQ8e7n4uyQdCWEwxsU0_PEw_78k8jF4gJdpS2gcQ [...] mail.gmail.com> <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.224.79.133 with SMTP id p5mr40789982qak.56.1390833054467; Mon, 27 Jan 2014 06:30:54 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <41A1DCB2-B9DB-4C70-B9E8-54CD8657F32E [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E5600240E83 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:31:08 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yQkllhgBvfyB for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:31:06 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2BA35240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:31:05 -0500 (EST)
Received: (qmail 5311 invoked by alias); 27 Jan 2014 14:31:05 -0000
Received: from mail-qc0-f170.google.com (HELO mail-qc0-f170.google.com) (209.85.216.170) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:30:58 -0800
Received: by mail-qc0-f170.google.com with SMTP id e9so8253217qcy.29 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:30:54 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id o68sm8525718qge.8.2014.01.27.06.30.53 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:30:53 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=TfWbh8WHilb/iLNi3I6vFtrz58XSwPgq0czFBrIlt3U=; b=L+ibwHs6JP1ftqoGB+j1razUJpxL0bDcYQid6q5kv7zn5CqvwWMgvUZjk+whiWOex3 wjggDkRvgh2NrjXCxFns53oYRUpSlSzuBVip0vcLKTEV44YpMR3POI0elLRxC9lB0Q+A 1TPPgELYLxQRdfR+mBAdI0RJxFPLSj/DB0hs7KszoqvfHfa1d1VmCturF+tOh+wdnXqp y24S0513H7oZArlKaxUeuMrAuE3LDtRZE+SGuzCOX5TpA+wui9EuxUHDoNCm3gEbQ7ZP BC2K3MUHelchEnbppyXD38QVpXNlYmePgnkUfC1GsBM/CAByr5fH5UJxSUl1lQ6Cq+Ch bzKw==
Date: Mon, 27 Jan 2014 09:30:53 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQkmXaevkNqlhpfUVE6sOYNrRKDn6GeNUVf2c+0UEOW+aLd6rF/M2g+1UvD3pEZqw0fAuE5e
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-25485-1390833069-593.92495-0-0 [...] rt.cpan.org>
Content-Length: 3744
Download (untitled) / with headers
text/plain 3.6k
On Jan 27, 2014, at 9:21 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On 27 January 2014 22:11, Stevan Little via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> >> On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>
>>> Queue: MooseX-Getopt >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On 27 January 2014 22:02, Stevan Little via RT >>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> >>>> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>
>>>>> Queue: MooseX-Getopt >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>>>> >>>>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>>>> Getopt@rt.cpan.org> wrote: >>>>>>
>>>>>>> Queue: MooseX-Getopt >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>> >>>>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>> >>>>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>>>> scripts >>>>>>>>> have an easy way to show the full manual and are "interface" >>>>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>>>> years or more)
>>>>>>>> >>>>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>>>> result in >>>>>>>> the equivalent of 'perldoc <executable>'?
>>>>>>> >>>>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>>>> does. >>>>>>> >>>>>>> The advantages are that one doesn't need to know the path to the >>>>>>> executable, and one doesn't need an installed perldoc application >>>>>>> either.
>>>>>> >>>>>> Currently MooseX::Getopt does not actually support even --help in the >>>>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>>>> MooseX::Getopt attempt to provide a --help (which it does by >>>>>> inspecting some meta-level stuff on the attributes). >>>>>> >>>>>> I think perhaps that this makes more sense as a role, which looks to >>>>>> have already been done with MooseX::Getopt::Usage >>>>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>>>> fulfill your needs? >>>>>> >>>>>> - Stevan
>>>>> >>>>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>>>> >>>>> Maybe worth checking out see if it fits your needs ?
>>>> >>>> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
>>> >>> To avoid further arguments with colleagues I would be ever so grateful >>> if you documented this. :-) >>>
>> >> Haha, okay, I will throw something together then.
> > Cheers man. Much obliged. Beer++ next you visit!
Cool, I like mine Belgian. https://github.com/moose/MooseX-Getopt/commit/faf61aa3d80ef05acce5e15810e143287d9ea98a Good enough ^^ - Stevan
From demerphq [...] gmail.com Mon Jan 27 09: 34:52 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org> <32078210-4AE4-4C53-8002-E098A7E02574 [...] iinteractive.com> <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org> <CANgJU+XLDSGQ8e7n4uyQdCWEwxsU0_PEw_78k8jF4gJdpS2gcQ [...] mail.gmail.com> <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org> <41A1DCB2-B9DB-4C70-B9E8-54CD8657F32E [...] iinteractive.com> <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.26.43 with SMTP id 40mr40808073qgu.86.1390833279136; Mon, 27 Jan 2014 06:34:39 -0800 (PST)
Message-ID: <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2FE2F240EAA for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:34:52 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBcXkaDzB2L8 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:34:46 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7F1A8240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:34:46 -0500 (EST)
Received: (qmail 5529 invoked by alias); 27 Jan 2014 14:34:46 -0000
Received: from mail-qc0-f178.google.com (HELO mail-qc0-f178.google.com) (209.85.216.178) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:34:42 -0800
Received: by mail-qc0-f178.google.com with SMTP id m20so7972986qcx.23 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:34:39 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:34:39 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6MhBWIWHku/YdvZeVt65U4oyMJNCP5Sq5gMkU8Cm3cs=; b=pPvuO6Ubvao5sQ7qsheVO1t1Vd1pRBcJzJ1smI78Rt5WqJbX4K9+/x2r3fPZr7/o4z lyz1aoCn3wDaArU0iNLW6QL931oD4StLeaqrN5VABKwqj97Tc8rovccDP/X002da7sH4 j3apI3WhDnPMJYHYgCOktC0yAEfl7yI2D7grFXnCqhu2Q1njxtgQghCTRBAlPWPM22eG 4MJ6wO3i8rlwJknK5uuRXBHOSdgYIBLA+ORjEbAHqyAIr/crNu0SxJpwEf/96eIaGIV1 N/gOw2u73VDh/9XN4oY6jljO6jAMAdi8i+7E3NbYHl6/JSh3xWmD2EL7dqFola84+/ZB jZTg==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:34:39 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-18748-1390833292-571.92495-0-0 [...] rt.cpan.org>
Content-Length: 4132
On 27 January 2014 22:31, Stevan Little via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > On Jan 27, 2014, at 9:21 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >
>> Queue: MooseX-Getopt >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> On 27 January 2014 22:11, Stevan Little via RT >> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> >>> On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>
>>>> Queue: MooseX-Getopt >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> On 27 January 2014 22:02, Stevan Little via RT >>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> >>>>> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>>
>>>>>> Queue: MooseX-Getopt >>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>> >>>>>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>>>>> >>>>>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>>>>> Getopt@rt.cpan.org> wrote: >>>>>>>
>>>>>>>> Queue: MooseX-Getopt >>>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>> >>>>>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>>> >>>>>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>>>>> scripts >>>>>>>>>> have an easy way to show the full manual and are "interface" >>>>>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>>>>> years or more)
>>>>>>>>> >>>>>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>>>>> result in >>>>>>>>> the equivalent of 'perldoc <executable>'?
>>>>>>>> >>>>>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>>>>> does. >>>>>>>> >>>>>>>> The advantages are that one doesn't need to know the path to the >>>>>>>> executable, and one doesn't need an installed perldoc application >>>>>>>> either.
>>>>>>> >>>>>>> Currently MooseX::Getopt does not actually support even --help in the >>>>>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>>>>> MooseX::Getopt attempt to provide a --help (which it does by >>>>>>> inspecting some meta-level stuff on the attributes). >>>>>>> >>>>>>> I think perhaps that this makes more sense as a role, which looks to >>>>>>> have already been done with MooseX::Getopt::Usage >>>>>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>>>>> fulfill your needs? >>>>>>> >>>>>>> - Stevan
>>>>>> >>>>>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>>>>> >>>>>> Maybe worth checking out see if it fits your needs ?
>>>>> >>>>> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
>>>> >>>> To avoid further arguments with colleagues I would be ever so grateful >>>> if you documented this. :-) >>>>
>>> >>> Haha, okay, I will throw something together then.
>> >> Cheers man. Much obliged. Beer++ next you visit!
> > Cool, I like mine Belgian. > > https://github.com/moose/MooseX-Getopt/commit/faf61aa3d80ef05acce5e15810e143287d9ea98a > > Good enough ^^
Maybe mention the other role too? Next time you come a night at Gollem's is on me. 300 different kinds of belgian beer can't hurt. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From demerphq [...] gmail.com Mon Jan 27 09: 36:29 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-28044-1390831635-714.92495-5-0 [...] rt.cpan.org> <32078210-4AE4-4C53-8002-E098A7E02574 [...] iinteractive.com> <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org> <CANgJU+XLDSGQ8e7n4uyQdCWEwxsU0_PEw_78k8jF4gJdpS2gcQ [...] mail.gmail.com> <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org> <41A1DCB2-B9DB-4C70-B9E8-54CD8657F32E [...] iinteractive.com> <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org> <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.97.73 with SMTP id l67mr40859781qge.56.1390833373192; Mon, 27 Jan 2014 06:36:13 -0800 (PST)
Message-ID: <CANgJU+WW8wAnGSWtVK0YrHhWw+zUFZVfXV=bb2FdbX5CK9B4TA [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9A078240245 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:36:29 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J9qY3E4RNdq6 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:36:24 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id AD3D1240E9B for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:36:23 -0500 (EST)
Received: (qmail 5787 invoked by alias); 27 Jan 2014 14:36:23 -0000
Received: from mail-qa0-f51.google.com (HELO mail-qa0-f51.google.com) (209.85.216.51) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:36:17 -0800
Received: by mail-qa0-f51.google.com with SMTP id f11so7271402qae.38 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:36:13 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:36:13 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=xdxK8OiPGLVtVY51jwjtEYUNxWugzcfIBCtrIGqqBbY=; b=HjHsQa30Lxob8/gn+jiSCD/mblqeUDSlSZICmW7iW2ZH070nsLsB/Cor57GmOUskLU 9agmSpJzpSQznUTQwWAIxNiE0S+QOyIdtv2LILpjPihsVe0JbMS2VEJdxvZyoQ2Kqmqc TRJLB3oKDBYqP/HtgtDAmefRt0fUWbLA2C9m7mhvGtW9lDKtqCtt/FK1CKA0wv7vLcM2 43fFNwhOLftpJk2y16Q5X4zve4csS6v8I377yxxNFldwBCwpFqazrBxL7S+Gh9C1mhr5 9vTYXobNofM8Ezsw9wOmzTS4DVRFkTqRAyZWQfzA+R61f1c2b+HFCrsgQDc8pTmoxBPR VqlA==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:36:13 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-18748-1390833390-1723.92495-0-0 [...] rt.cpan.org>
Content-Length: 4380
Download (untitled) / with headers
text/plain 4.2k
On 27 January 2014 22:34, demerphq <demerphq@gmail.com> wrote: Show quoted text
> On 27 January 2014 22:31, Stevan Little via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> >> On Jan 27, 2014, at 9:21 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>
>>> Queue: MooseX-Getopt >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On 27 January 2014 22:11, Stevan Little via RT >>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> >>>> On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>
>>>>> Queue: MooseX-Getopt >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> On 27 January 2014 22:02, Stevan Little via RT >>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>> >>>>>> >>>>>> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>>>
>>>>>>> Queue: MooseX-Getopt >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>> >>>>>>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>>>>>> >>>>>>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>>>>>> Getopt@rt.cpan.org> wrote: >>>>>>>>
>>>>>>>>> Queue: MooseX-Getopt >>>>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>>> >>>>>>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>>>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>>>> >>>>>>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>>>>>> scripts >>>>>>>>>>> have an easy way to show the full manual and are "interface" >>>>>>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>>>>>> years or more)
>>>>>>>>>> >>>>>>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>>>>>> result in >>>>>>>>>> the equivalent of 'perldoc <executable>'?
>>>>>>>>> >>>>>>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>>>>>> does. >>>>>>>>> >>>>>>>>> The advantages are that one doesn't need to know the path to the >>>>>>>>> executable, and one doesn't need an installed perldoc application >>>>>>>>> either.
>>>>>>>> >>>>>>>> Currently MooseX::Getopt does not actually support even --help in the >>>>>>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>>>>>> MooseX::Getopt attempt to provide a --help (which it does by >>>>>>>> inspecting some meta-level stuff on the attributes). >>>>>>>> >>>>>>>> I think perhaps that this makes more sense as a role, which looks to >>>>>>>> have already been done with MooseX::Getopt::Usage >>>>>>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>>>>>> fulfill your needs? >>>>>>>> >>>>>>>> - Stevan
>>>>>>> >>>>>>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>>>>>> >>>>>>> Maybe worth checking out see if it fits your needs ?
>>>>>> >>>>>> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
>>>>> >>>>> To avoid further arguments with colleagues I would be ever so grateful >>>>> if you documented this. :-) >>>>>
>>>> >>>> Haha, okay, I will throw something together then.
>>> >>> Cheers man. Much obliged. Beer++ next you visit!
>> >> Cool, I like mine Belgian. >> >> https://github.com/moose/MooseX-Getopt/commit/faf61aa3d80ef05acce5e15810e143287d9ea98a >> >> Good enough ^^
> > Maybe mention the other role too? > > Next time you come a night at Gollem's is on me. 300 different kinds > of belgian beer can't hurt.
Well, I mean, obviously 300 different kind of beers would hurt. The next day. :-) Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From stevan.little [...] iinteractive.com Mon Jan 27 09: 40:40 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-18748-1390833292-128.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-10836-1390831878-259.92495-6-0 [...] rt.cpan.org> <CANgJU+XLDSGQ8e7n4uyQdCWEwxsU0_PEw_78k8jF4gJdpS2gcQ [...] mail.gmail.com> <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org> <41A1DCB2-B9DB-4C70-B9E8-54CD8657F32E [...] iinteractive.com> <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org> <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com> <rt-4.0.18-18748-1390833292-128.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.229.179.69 with SMTP id bp5mr42965618qcb.17.1390833625522; Mon, 27 Jan 2014 06:40:25 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <BFB02ADC-D7A5-4E05-A449-E57A72F0F7F1 [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E799F240E83 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:40:39 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A0Qr1lBjucaJ for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:40:38 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A7215240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:40:37 -0500 (EST)
Received: (qmail 6053 invoked by alias); 27 Jan 2014 14:40:37 -0000
Received: from mail-qa0-f47.google.com (HELO mail-qa0-f47.google.com) (209.85.216.47) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:40:29 -0800
Received: by mail-qa0-f47.google.com with SMTP id j5so7227361qaq.20 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:40:25 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id g52sm8546592qgg.9.2014.01.27.06.40.24 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:40:25 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=OQqS0Gpthy3Q9kQjKN2EupezoDHA/5rGVHIm2SF+WBo=; b=gP6byzPi6GdkNnKWT0IxiFJnBlfqDaEoUHru5M+dfl2VHPxfP8MgDuDONRZqe1V6Ff k0eMHqJdUyHJ2sBHCJKwWsQI7xpCPCeNuaVS4aLZSIBbDyjOEwz64GRPYZEPQX7aouyt njUk1V1MGC0MLnCY/+jponDzmbwddVOMku3G7bzj+eVgdsVrlABu+gFWRCG6bXJ6JJAZ pdlOuVyahhhyshnsthY3iB/eY0xa4Obn2oBKs/ADuuR0RgTdQHsax0uqZF8BY6FBBIah r8ixesKdJaPvQTOYTPcnce9brypbk64RcuV6NWXipwo4ObzWo2qan4T0JMEQaixs1NL5 hyMg==
Date: Mon, 27 Jan 2014 09:40:24 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQlZ0ZoqO490RywGmep95CRb8oqxqEHxSkul0Yx+R2X5Ck7Xp31glA3CH8AvvIO8AT74OSHa
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-28044-1390833640-903.92495-0-0 [...] rt.cpan.org>
Content-Length: 4521
Download (untitled) / with headers
text/plain 4.4k
On Jan 27, 2014, at 9:34 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On 27 January 2014 22:31, Stevan Little via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> >> On Jan 27, 2014, at 9:21 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>
>>> Queue: MooseX-Getopt >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>> >>> On 27 January 2014 22:11, Stevan Little via RT >>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>> >>>> >>>> On Jan 27, 2014, at 9:07 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>
>>>>> Queue: MooseX-Getopt >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>> >>>>> On 27 January 2014 22:02, Stevan Little via RT >>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>> >>>>>> >>>>>> On Jan 27, 2014, at 8:56 AM, "Damien Krotkine via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: >>>>>>
>>>>>>> Queue: MooseX-Getopt >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>> >>>>>>> On Mon Jan 27 08:53:38 2014, STEVAN wrote:
>>>>>>>> >>>>>>>> On Jan 27, 2014, at 12:14 AM, "demerphq via RT" <bug-MooseX- >>>>>>>> Getopt@rt.cpan.org> wrote: >>>>>>>>
>>>>>>>>> Queue: MooseX-Getopt >>>>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>>> >>>>>>>>> On 27 January 2014 13:08, Karen Etheridge via RT >>>>>>>>> <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>>>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >>>>>>>>>> >>>>>>>>>> On Sun, Jan 26, 2014 at 10:56:47PM -0500, demerphq via RT wrote:
>>>>>>>>>>> Please add support for the --man option so that MooseX-Getopt >>>>>>>>>>> scripts >>>>>>>>>>> have an easy way to show the full manual and are "interface" >>>>>>>>>>> compatible with the long recommended template in Getopt::Long (10 >>>>>>>>>>> years or more)
>>>>>>>>>> >>>>>>>>>> I'm not sure I understand -- passing the option '--man' should >>>>>>>>>> result in >>>>>>>>>> the equivalent of 'perldoc <executable>'?
>>>>>>>>> >>>>>>>>> Yes correct. That is what pod2usage(-exitval => 0, -verbose => 2) >>>>>>>>> does. >>>>>>>>> >>>>>>>>> The advantages are that one doesn't need to know the path to the >>>>>>>>> executable, and one doesn't need an installed perldoc application >>>>>>>>> either.
>>>>>>>> >>>>>>>> Currently MooseX::Getopt does not actually support even --help in the >>>>>>>> way you describe, only if Getopt::Long::Descriptive is installed will >>>>>>>> MooseX::Getopt attempt to provide a --help (which it does by >>>>>>>> inspecting some meta-level stuff on the attributes). >>>>>>>> >>>>>>>> I think perhaps that this makes more sense as a role, which looks to >>>>>>>> have already been done with MooseX::Getopt::Usage >>>>>>>> (https://metacpan.org/pod/MooseX::Getopt::Usage). Perhaps this would >>>>>>>> fulfill your needs? >>>>>>>> >>>>>>>> - Stevan
>>>>>>> >>>>>>> MooX::Options is meant to work with Moose, Moo, and Mouse. I think it handles pretty well the --man and --help options. >>>>>>> >>>>>>> Maybe worth checking out see if it fits your needs ?
>>>>>> >>>>>> Honestly, the API provided by MooX::Options is better than MooseX::Getopt too. MooseX::Getopt was originally just a cute, quick hack I did in the early days of Moose to show people how powerful the meta-layer could be and how easily it could be leveraged to automate simple stuff like command line parameters. It was not really written out of any real need for robust command line parameter handling, so it has always kind of lacked some proper CLI feature support.
>>>>> >>>>> To avoid further arguments with colleagues I would be ever so grateful >>>>> if you documented this. :-) >>>>>
>>>> >>>> Haha, okay, I will throw something together then.
>>> >>> Cheers man. Much obliged. Beer++ next you visit!
>> >> Cool, I like mine Belgian. >> >> https://github.com/moose/MooseX-Getopt/commit/faf61aa3d80ef05acce5e15810e143287d9ea98a >> >> Good enough ^^
> > Maybe mention the other role too?
Which one, MooseX::Getopt::Usage? That was already listed in there actually. Show quoted text
> > Next time you come a night at Gollem's is on me. 300 different kinds > of belgian beer can't hurt. >
Nice! I will take you up on that. - Stevan
From demerphq [...] gmail.com Mon Jan 27 09: 42:43 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[AWL=-0.000, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-28044-1390833640-228.92495-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-4381-1390832517-282.92495-5-0 [...] rt.cpan.org> <41A1DCB2-B9DB-4C70-B9E8-54CD8657F32E [...] iinteractive.com> <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org> <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com> <rt-4.0.18-18748-1390833292-128.92495-5-0 [...] rt.cpan.org> <BFB02ADC-D7A5-4E05-A449-E57A72F0F7F1 [...] iinteractive.com> <rt-4.0.18-28044-1390833640-228.92495-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.92.213 with SMTP id b79mr4357531qge.108.1390833751167; Mon, 27 Jan 2014 06:42:31 -0800 (PST)
Message-ID: <CANgJU+Xp0c-AEKE0KH6ym=1z3suw9=1jWYqcszxu=xtLHs1meQ [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.699
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D8187240E9B for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:42:43 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4cXAxe8u62di for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:42:39 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D0838240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:42:38 -0500 (EST)
Received: (qmail 6218 invoked by alias); 27 Jan 2014 14:42:38 -0000
Received: from mail-qc0-f179.google.com (HELO mail-qc0-f179.google.com) (209.85.216.179) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:42:35 -0800
Received: by mail-qc0-f179.google.com with SMTP id e16so8010206qcx.24 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:42:31 -0800 (PST)
Received: by 10.140.96.117 with HTTP; Mon, 27 Jan 2014 06:42:31 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <demerphq [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fTGsL2K6n3nwjWLCkMNd755kUFjIM4t3hIXKMq1CyPg=; b=zDdjejV8XyJcLtsMIvvpM7l7qDXXvIzRrzOmtCSrxGEHnGTkgUila6StwhBIvx3OQN aDCxREVVoddG3jZxf8Y4Z45Z6n+b6RwcaWS+u5UWeLnoldYuc1+4rfV35V152IFmTcGq o2gBqDNKo2yNbyJugieXljzE2xPj74MWmB6yTL3UxzNHka35mThpdnccNqDPS5/JKPnz jvQI4q/56Qz4F9b+NIRKArHEio7g1THrPZnOGZYVYmRmO94jMJdBashZs8Y5XaDqPM3e jw8XBZY/H3L0/iOI2k6uXJbkPU0/z2oSjPqiaoBBlJtRMI/gRgupPs3a4OdbVN0IbM2R EonQ==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
Date: Mon, 27 Jan 2014 22:42:31 +0800
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
RT-Message-ID: <rt-4.0.18-22156-1390833764-1822.92495-0-0 [...] rt.cpan.org>
Content-Length: 740
Download (untitled) / with headers
text/plain 740b
On 27 January 2014 22:40, Stevan Little via RT <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > > On Jan 27, 2014, at 9:34 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> Maybe mention the other role too?
> > Which one, MooseX::Getopt::Usage? That was already listed in there actually.
Doh. I shall return to the bowels of regex engine where I belong. :-) Show quoted text
>> >> Next time you come a night at Gollem's is on me. 300 different kinds >> of belgian beer can't hurt. >>
> > Nice! I will take you up on that.
Deal. Let me know when you want to come over. I have a spare bedroom and live about 200 meters away. :-) Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
From stevan.little [...] iinteractive.com Mon Jan 27 09: 45:15 2014
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Spam-Status: No, score=-2.6 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-22156-1390833764-1732.92495-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1510)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92495 [...] rt.cpan.org> <CANgJU+Uu99ywYguB8d5O+eLPJHsx4+FFhu5s=8qrEDr+1juseA [...] mail.gmail.com> <rt-4.0.18-19512-1390795006-1405.92495-4-0 [...] rt.cpan.org> <20140127050809.GA38395 [...] tequila.westerncable.ca> <rt-4.0.18-25485-1390833069-878.92495-6-0 [...] rt.cpan.org> <CANgJU+VVyv2+cdzPbZCbZ4c74H1bPL6wGr27jsRh0hJteYb8Fw [...] mail.gmail.com> <rt-4.0.18-18748-1390833292-128.92495-5-0 [...] rt.cpan.org> <BFB02ADC-D7A5-4E05-A449-E57A72F0F7F1 [...] iinteractive.com> <rt-4.0.18-28044-1390833640-228.92495-6-0 [...] rt.cpan.org> <CANgJU+Xp0c-AEKE0KH6ym=1z3suw9=1jWYqcszxu=xtLHs1meQ [...] mail.gmail.com> <rt-4.0.18-22156-1390833764-1732.92495-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.48.104 with SMTP id n95mr40645647qga.90.1390833898936; Mon, 27 Jan 2014 06:44:58 -0800 (PST)
content-type: text/plain; charset="utf-8"
Message-ID: <A63C7821-5218-411B-AF9F-FB338186982E [...] iinteractive.com>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0AC85240E83 for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:45:15 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F0HA6KYqrzzI for <cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 09:45:13 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 84F2F240245 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 09:45:13 -0500 (EST)
Received: (qmail 6475 invoked by alias); 27 Jan 2014 14:45:13 -0000
Received: from mail-qc0-f171.google.com (HELO mail-qc0-f171.google.com) (209.85.216.171) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 06:45:02 -0800
Received: by mail-qc0-f171.google.com with SMTP id n7so8030637qcx.16 for <bug-MooseX-Getopt [...] rt.cpan.org>; Mon, 27 Jan 2014 06:44:59 -0800 (PST)
Received: from [10.0.1.4] (c-50-138-156-141.hsd1.ct.comcast.net. [50.138.156.141]) by mx.google.com with ESMTPSA id u4sm25757316qai.21.2014.01.27.06.44.58 for <bug-MooseX-Getopt [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:44:58 -0800 (PST)
Delivered-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92495] MooseX-Getopt does not support "man" option as recommend in Getopt::Long
Return-Path: <stevan.little [...] iinteractive.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+MooseX-Getopt [...] hipster.bestpractical.com
X-RT-Mail-Extension: moosex-getopt
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=ZO8se6wl11PP2IiYG/7jNrCHwmLQAMI0suLPn7jWhSQ=; b=Alh8uC2psz77gN7bHqrj2DKrs1bOFNfVbk1e5lTf6/68161UXZSgKAuXxMZkgWyZjS QDz4XLW6mj1B6dNP4HPHW7DTU/JqWamKekQkrDFe/fp9JbB2M9P8i7AEN4jm7h/KNdw5 cAhk5kdG6K+bTp0nqFQb/COzRKFr6lHTRDo77Gw7B3QJ8i6+7JqrChds5G9Ft5jCycNu Gf5nVDeIUmACQDn6jd+HPQxXBxQFze+Z+MnX4rzACyC8rgIx4wy2oey66VlDazuyMrE3 gY3GBFyJpqfQkRlgcYCt8gHaIJgtQur1a0UG39M5rbThHDYtXVUWW2vaKz/VlRJsMkd/ dBbQ==
Date: Mon, 27 Jan 2014 09:44:57 -0500
X-Spam-Level:
To: bug-MooseX-Getopt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-GM-Message-State: ALoCoQkq5/FVLsJnOemCSBSVUjhXn4SCvB7S44z42qWa1BLk/Iy0U1aedF7KtIvO7KL5697NNh44
From: Stevan Little <stevan.little [...] iinteractive.com>
RT-Message-ID: <rt-4.0.18-25847-1390833915-1930.92495-0-0 [...] rt.cpan.org>
Content-Length: 1078
On Jan 27, 2014, at 9:42 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> Queue: MooseX-Getopt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > > > On 27 January 2014 22:40, Stevan Little via RT > <bug-MooseX-Getopt@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92495 > >> >> >> On Jan 27, 2014, at 9:34 AM, "demerphq via RT" <bug-MooseX-Getopt@rt.cpan.org> wrote:
>>> Maybe mention the other role too?
>> >> Which one, MooseX::Getopt::Usage? That was already listed in there actually.
> > Doh. I shall return to the bowels of regex engine where I belong. :-)
To be fair, it wasn't in the highlighted portion of the diff, so your brain was just optimizing away information it didn't need. Show quoted text
>
>>> >>> Next time you come a night at Gollem's is on me. 300 different kinds >>> of belgian beer can't hurt. >>>
>> >> Nice! I will take you up on that.
> > Deal. Let me know when you want to come over. I have a spare bedroom > and live about 200 meters away. :-)
Perfect, thats crawling distance :) - Stevan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.