Skip Menu |

This queue is for tickets about the Text-Diff-Parser CPAN distribution.

Report information
The Basics
Id: 30296
Status: resolved
Priority: 0/
Queue: Text-Diff-Parser

People
Owner: Nobody in particular
Requestors: rt.cpan [...] sartak.org
Cc:
AdminCc:

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



Subject: Broken synopsis
Hi Gwyn, Thanks for writing Text::Diff::Parser. I'm using it in a new (and hopefully very useful) project. Expect to hear from me again. :) It seems your synopsis is broken. The following line throws an error: print "Line: ", $change->line( $size ); line is not a method of Text::Diff::Parser::Change, and $size is the maximum, not the current. I think you mean $change->text( $line ). :) Shawn
From: perl [...] pied.nu
On Sat Oct 27 00:05:45 2007, SARTAK wrote: Show quoted text
> It seems your synopsis is broken. The following line throws an error: > > print "Line: ", $change->line( $size ); > > line is not a method of Text::Diff::Parser::Change, and $size is the > maximum, not the current. I think you mean $change->text( $line ). :)
That is easily fixed with $change->text( $line ); 0.08 being uploaded soon.
Fixed in 0.08