Skip Menu |

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

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

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

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



Subject: Graph::Easy 0.64 doesn't allow class names with only digits
Date: Sun, 12 Jul 2009 13:22:44 +0200
To: bug-Graph-Easy [...] rt.cpan.org
From: Robin Smidsrød <robin [...] smidsrod.no>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The example from: http://cpansearch.perl.org/src/TELS/Graph-Easy-Manual-0.41/doc/manual/syntax.html With the following markup: # ========== cut =========== node.1 { border: dotted; } node.2 { border: dashed; } node.3 { border: dot-dash; } node { border: double; } [ AAAA|BBBB ] { class: |1; } [ CCCC|DDDD ] { class: 2|; } [ EEEE|FFFF ] { class: 3; } # ========== cut =========== Generates the following error: $ cat graph.txt | graph-easy --as boxart Error in attribute: '1' is not a valid class for a node at /home/robin/perl5/lib/perl5/Graph/Easy/Parser.pm line 1299 If this is a change in the API about legal class names, then the documentation should be updated to reflect the correct usage. If class names can be only numbers then the bug in the parser should be fixed. Regards, Robin Smidsrød -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpZx4QACgkQHAwEVD/in26rBgCeIeQ2IrxN+SWEe4amml75y2ZN AfUAoJeHGgJW1t90xav0agbueHprIBI5 =L71o -----END PGP SIGNATURE-----