Subject: | GraphViz2::Parse::Regexp default graph parameter |
Date: | Tue, 06 Oct 2015 19:01:15 +1100 |
To: | bug-GraphViz2 [...] rt.cpan.org |
From: | Kevin Ryde <user42_kevin [...] yahoo.com.au> |
The docs of GraphViz2::Parse::Regexp on the "graph" parameter say "This
key is optional", but in recent debian i386 perl 5.20.2 attempting to do
that with
use strict;
use GraphViz2::Parse::Regexp;
my $parse = GraphViz2::Parse::Regexp->new;
$parse->create(regexp => '(([abcd0-9])|(foo))');
gets an error
Can't call method "add_node" on unblessed reference at /usr/share/perl5/GraphViz2/Parse/Regexp.pm line 93.
Nosing around the code I wonder if the BUILD bit would be the "default"
subr of the graph parameter ... but I don't know if that makes some
subtle difference.