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