Subject: | Simply doesn't work at all |
On "Linux version 2.4.20-30.9 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Wed Feb 4 20:44:26 EST 2004", Perl v5.8.3, I am seeing the following when trying to execute a very basic Graph:
use Graph::Easy;
my $graph = Graph::Easy->new();
my $t1 = Graph::Easy::Node->new(name => 'Test1');
my $t2 = Graph::Easy::Node->new(name => 'Test2');
my $t3 = Graph::Easy::Node->new(name => 'Test3');
$graph->add_edge($t1, $t2);
$graph->add_edge($t2, $t3);
$graph->layout();
print $graph->as_ascii();
exit(0);
Where I get the following error:
Can't call method "attribute" on an undefined value at /usr/lib/perl5/site_perl/5.8.3/Graph/Easy/Edge/Cell.pm line 347.
The get the same error when I try to parse from text.