Skip Menu |

This queue is for tickets about the Perl6-Perldoc CPAN distribution.

Report information
The Basics
Id: 77263
Status: open
Priority: 0/
Queue: Perl6-Perldoc

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

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



Subject: Support for =defn
If you install App::Grok using cpan and try "grok s26", you get errors about the =defn block type being unknown and no output. The attached patch fixes this, even if I'm not confident it's the best way. This is on Apple's Lion (i.e. 10.7) distribution of Perl 5.12. Perl6::Perldoc 0.000007 and grok 0.26.
Subject: patch-Parser.pm.diff
--- Parser.pm~ 2012-05-07 23:34:37.000000000 +0100 +++ Parser.pm 2012-05-17 22:03:43.000000000 +0100 @@ -1715,6 +1715,10 @@ package Perl6::Perldoc::Block::item; use base 'Perl6::Perldoc::Block'; +# Standard =defn block... +package Perl6::Perldoc::Block::defn; + use base 'Perl6::Perldoc::Block'; + # Implicit =list block... package Perl6::Perldoc::Block::list; use base 'Perl6::Perldoc::Block';
Subject: Re: [rt.cpan.org #77263] Support for =defn
Date: Fri, 18 May 2012 19:34:00 -0400
To: bug-Perl6-Perldoc [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Patch applied. Many thanks! Damian