Skip Menu |

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

Report information
The Basics
Id: 92614
Status: open
Priority: 0/
Queue: Graph-Easy

People
Owner: TELS [...] cpan.org
Requestors: info [...] peredin.com
Cc:
AdminCc:

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



Subject: Misspelled hash key
Date: Fri, 31 Jan 2014 14:37:54 +0100
To: bug-Graph-Easy [...] rt.cpan.org
From: Per Edin <info [...] peredin.com>
A misspelled key in Graph/Easy/As_graphviz.pm on line 570 causes node-to-group and group-to-node edges to fail. Replacing $self->{edge_type} with $self->{_edge_type} fixes the problem. Version: 0.73 See https://metacpan.org/source/SHLOMIF/Graph-Easy-0.73/lib/Graph/Easy/As_graphviz.pm#L570 Per
Hi Per, On Fri Jan 31 08:38:05 2014, info@peredin.com wrote: Show quoted text
> A misspelled key in Graph/Easy/As_graphviz.pm on line 570 causes > node-to-group and group-to-node edges to fail. > > Replacing $self->{edge_type} with $self->{_edge_type} fixes the > problem. >
can you provide a self-contained, reproducing example? A new t/.t would be preferable. Regards, -- Shlomi Fish
Subject: Re: [rt.cpan.org #92614] Misspelled hash key
Date: Fri, 31 Jan 2014 22:59:57 +0100
To: bug-Graph-Easy [...] rt.cpan.org
From: Per Edin <info [...] peredin.com>
Sure, try the command below in a shell and you'll get a warning. echo "( Group: [Node A] [Node B] ) -> [Node C]" | graph-easy --as graphviz Use of uninitialized value in concatenation (.) or string at /Users/peredin/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/Graph/Easy/As_graphviz.pm line 570, <STDIN> line 1. Generated output: --- cut --- "Node A" "Node C" [ color="#000000", ltail="cluster0" ] --- cut --- Expected output: --- cut --- "Node A" -> "Node C" [ color="#000000", ltail="cluster0" ] --- cut --- Identical lines cut. I'll try to provide a t/.t when I've figured out if there are any other cases that cause the same warning to be generated. Per On Fri, Jan 31, 2014 at 9:03 PM, Shlomi Fish via RT <bug-Graph-Easy@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92614 > > > Hi Per, > > On Fri Jan 31 08:38:05 2014, info@peredin.com wrote:
>> A misspelled key in Graph/Easy/As_graphviz.pm on line 570 causes >> node-to-group and group-to-node edges to fail. >> >> Replacing $self->{edge_type} with $self->{_edge_type} fixes the >> problem. >>
> > can you provide a self-contained, reproducing example? A new t/.t would be preferable. > > Regards, > > -- Shlomi Fish >