Skip Menu |

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

Report information
The Basics
Id: 16196
Status: resolved
Priority: 0/
Queue: Getopt-Euclid

People
Owner: DCONWAY [...] cpan.org
Requestors: bill.ryder.nz [...] gmail.com
Cc:
AdminCc:

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



Subject: It required POD::Text but I only have Pod::Text (which works fine when I change Euclid.pm)
WHen you use --man or --help Getopt::Euclid prints out unformatted Pod. When you apply the patch it works correctly. Test machine was an IRIX machine - perl 5.8.7 This fixes it: diff -c Euclid.pm~ Euclid.pm *** Euclid.pm~ Fri Aug 5 06:03:28 2005 --- Euclid.pm Wed Nov 30 12:41:57 2005 *************** *** 536,542 **** sub _print_and_exit { my ($pod, $paged) = @_; ! if (-t *STDOUT and eval { require POD::Text }) { if ($paged) { eval { require IO::Page } or eval { require IO::Pager::Page }; } --- 536,542 ---- sub _print_and_exit { my ($pod, $paged) = @_; ! if (-t *STDOUT and eval { require Pod::Text }) { if ($paged) { eval { require IO::Page } or eval { require IO::Pager::Page }; }
Date: Wed, 30 Nov 2005 16:47:02 +1100
From: Damian Conway <damian [...] conway.org>
To: bug-Getopt-Euclid [...] rt.cpan.org
Subject: Re: [cpan #16196] It required POD::Text but I only have Pod::Text (which works fine when I change Euclid.pm)
RT-Send-Cc:
Patched. Thanks! Damian
On Mi. 30. Nov. 2005, 00:47:02, damian@conway.org wrote: Show quoted text
> Patched. Thanks!
Just downloaded Euclid from CPAN and it still seems to have that problem. I'm using the following workaround until there's a new version: # Getopt::Euclid misspells Pod::Text as POD::Text use Pod::Text; BEGIN { $INC{"POD/Text.pm"} = $INC{"Pod/Text.pm"}; require Getopt::Euclid; import Getopt::Euclid; }
Subject: Re: [rt.cpan.org #16196] It required POD::Text but I only have Pod::Text (which works fine when I change Euclid.pm)
Date: Sat, 21 Jan 2006 10:51:51 +1100
To: bug-Getopt-Euclid [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Nikolaus, Show quoted text
> Just downloaded Euclid from CPAN and it still seems to have that > problem. I'm using the following workaround until there's a new version:
Yes. I have had to delay the next release. The (southern hemisphere) conference season is upon me and I have to focus on that at the moment. All the best, Damian
Resolved in the latest release. Thanks.