Skip Menu |

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

Report information
The Basics
Id: 122050
Status: new
Priority: 0/
Queue: Graph-Easy

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.71
  • 0.72
  • 0.73
  • 0.74
  • 0.75
  • 0.76
Fixed in: (no value)



Subject: Graph::Easy->as_boxart hangs if a node contains a newline.
This example script hangs in the as_boxart method: use strict; use warnings; use lib 'lib'; binmode STDOUT, ':encoding(UTF-8)'; use Graph::Easy; my $g = Graph::Easy->new({ undirected => 1}); $g->add_edge("a\nx", "b", "label1"); print $g->as_boxart; It repeats these warnings: Use of uninitialized value $part in substitution (s///) at lib/Graph/Easy/Node.pm line 600. Use of uninitialized value $part in substitution (s///) at lib/Graph/Easy/Node.pm line 601. Use of uninitialized value $part in substitution (s///) at lib/Graph/Easy/Node.pm line 602. Use of uninitialized value $part in substitution (s///) at lib/Graph/Easy/Node.pm line 603. Tested in versions 0.71 and 0.76.