Skip Menu |

This queue is for tickets about the Tk-PlotDataset CPAN distribution.

Report information
The Basics
Id: 86165
Status: new
Priority: 0/
Queue: Tk-PlotDataset

People
Owner: Nobody in particular
Requestors: alexandrea514 [...] hotmail.com
Cc:
AdminCc:

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



Subject: bug with Tk::PlotDataset
Date: Sat, 15 Jun 2013 07:19:17 -0400
To: "bug-Tk-PlotDataset [...] rt.cpan.org" <bug-tk-plotdataset [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hi, Since a new release, I got this error when I start my Perl script. Use of qw(...) as parentheses is deprecated at C:/Perl64/site/lib/Tk/PlotDataset.pm line 680 (#1) (D deprecated) You have something like foreach $x qw(a b c) {...}, using a qw(...) list literal where a parenthesised expression is expected. Historically the parser fooled itself into thinking that qw(...) literals were always enclosed in parentheses, and as a result you could sometimes omit parentheses around them. (You could never do the foreach qw(a b c) {...} that you might have expected, though.) The parser no longer lies to itself in this way. Wrap the list literal in parentheses, like foreach $x (qw(a b c)) {...}. Thanks Alex