Skip Menu |

This queue is for tickets about the Continuity CPAN distribution.

Report information
The Basics
Id: 40544
Status: resolved
Priority: 0/
Queue: Continuity

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

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



Subject: debug_level 2 triggers debug_callback problem
Continuity::Adapt::HttpDaemon::Request::AUTOLOAD: Error calling HTTP::Request method ``debug_callback'', Can't locate object method "debug_callback" via package "HTTP::Headers" at (eval 1588) line 1. Use of uninitialized value in subroutine entry at /usr/local/share/perl/5.10.0/Continuity.pm line 456. Can't use string ("") as a subroutine ref while "strict refs" in use at /usr/local/share/perl/5.10.0/Continuity.pm line 456. Attached diff solves this problem.
Subject: Continuity-debug_callback.diff
--- old-Continuity/lib/Continuity.pm 2008-10-30 23:31:34.000000000 +0100 +++ new-Continuity/lib/Continuity.pm 2008-10-30 23:31:34.000000000 +0100 @@ -453,7 +453,7 @@ $output .= "$package:$line: "; } $output .= "@msg"; - $self->debug_callback->($output); + $self->debug_callback->($output) if $self->can('debug_callback'); } }
Thanks, this will be fixed in the next release. --Brock