This queue is for tickets about the Graph-ReadWrite CPAN distribution.

Report information
The Basics
Id:
11242
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
sdurand [...] infobiogen.fr
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
2.00
Fixed in:
2.02



Subject: bug in Graph::Reader::XML
In the new version of Graph-ReadWrite-2.00, I've got the following error message by calling the read_graph function: Can't locate object method "set_graph_attribute" via package "Graph::Reader::XML" at /usr/local/lib/perl5/site_perl/5.8.5/Graph/Reader/XML.pm line 85. It seems that the line 85 should be replaced by: $graph->set_graph_attribute($attr{name}, $attr{value}); because the graph is $graph and not $self. I'm using perl version 5.8.5 Thanks for taking this bug into account. SD
From: sdurand
Actually, the solution could better be: $self->set_attribute($attr{name}, $attr{value}); SD [guest - Wed Jan 26 11:06:20 2005]:
Show quoted text
> In the new version of Graph-ReadWrite-2.00, I've got the following > error message by calling the read_graph function: > > Can't locate object method "set_graph_attribute" via package > "Graph::Reader::XML" at > /usr/local/lib/perl5/site_perl/5.8.5/Graph/Reader/XML.pm line 85. > > It seems that the line 85 should be replaced by: > $graph->set_graph_attribute($attr{name}, $attr{value}); > because the graph is $graph and not $self. > > I'm using perl version 5.8.5 > > Thanks for taking this bug into account. > > SD


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.