Skip Menu |

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

Report information
The Basics
Id: 11242
Status: resolved
Priority: 0/
Queue: Graph-ReadWrite

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

Bug Information
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