Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-ebug CPAN distribution.

Report information
The Basics
Id: 13742
Status: resolved
Priority: 0/
Queue: Devel-ebug

People
Owner: Nobody in particular
Requestors: rick [...] rickster.com
Cc:
AdminCc:

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



Subject: t/ebug_http.t fails 10 tests
It seems that the versions of PPI currently on CPAN (0.996 -> 1.002) have had an API change, so all tests 3-10 fail: # perl t/ebug_http.t 1..13 [Sun Jul 17 16:22:11 2005] [catalyst] [error] Caught exception "API CHANGE: Source code should only be passed to PPI::Document->new as a SCALAR reference at /Library/Perl/5.8.6/PPI/Document.pm line 126, <GEN1> line 5." ok 1 ok 2 not ok 3 ... This patch fixes the problem: # diff -U1 lib/Devel/ebug/HTTP.pm~ lib/Devel/ebug/HTTP.pm --- lib/Devel/ebug/HTTP.pm~ 2005-05-16 14:03:50.000000000 -0400 +++ lib/Devel/ebug/HTTP.pm 2005-07-17 16:08:22.000000000 -0400 @@ -219,3 +219,3 @@ my $code = join "\n", $ebug->codelines; - my $document = PPI::Document->new($code); + my $document = PPI::Document->new(\$code); my $highlight = PPI::HTML->new(line_numbers => 1);