Subject: | warnings on trailing whitespace |
Date: | Sun, 09 Jun 2013 10:38:25 +1000 |
To: | bug-Language-Logo [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With recent debian i386 perl 5.14.2 and perl-tk 804.030, running
use strict;
use Language::Logo;
my $lo = Logo->new;
$lo->command("pendown;\n");
$lo->disconnect("Finished...");
gives warnings
Use of uninitialized value $cmd in hash element at /usr/share/perl5/Language/Logo.pm line 601, <GEN1> line 3.
Use of uninitialized value $cmd in hash element at /usr/share/perl5/Language/Logo.pm line 615, <GEN1> line 3.
Use of uninitialized value $cmd in hash element at /usr/share/perl5/Language/Logo.pm line 620, <GEN1> line 3.
Use of uninitialized value $cmd in concatenation (.) or string at /usr/share/perl5/Language/Logo.pm line 624, <GEN1> line 3.
I struck this when accidentally ending a command with ; and newline.
";" is meant to be a separator is it? I had it like a C terminator. It
could be good if an empty ";\n" at the end of a command string was
ignored.
--
I bought a packet of baby powder, mixed it up with some water and put it
in the oven, but it came out a blob looking nothing like a baby.