Skip Menu |

This queue is for tickets about the PPI-HTML CPAN distribution.

Report information
The Basics
Id: 12011
Status: resolved
Worked: 15 min
Priority: 0/
Queue: PPI-HTML

People
Owner: adamk [...] cpan.org
Requestors: LTHEGLER [...] cpan.org
Cc:
AdminCc:

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



Subject: [PATCH] Documentation fix
Please accept the following patch for the POD of PPI::HTML, bringing it into sync with the actual code: --cut-- --- lib/PPI/HTML.pm.orig Sat Mar 26 17:24:04 2005 +++ lib/PPI/HTML.pm Sat Mar 26 17:24:30 2005 @@ -15,10 +15,10 @@ my $Document = PPI::Document->load( 'script.pl' ); # Create a highlighter - my $Highlight = PPI::HTML->new( $Document, line_numbers => 1 ); + my $Highlight = PPI::HTML->new( line_numbers => 1 ); # Spit out the HTML - print $Highlight->html; + print $Highlight->html( $Document ); =head1 DESCRIPTION --cut-- /Lars