Put parens around the qw.
for my $d ( qw( 2006-10-21 15.01.2007 10/31/2005 ) )
I remember perltidy breaking because of this code in 5.12 .
perldelta#Use-of-qw(...)-as-parentheses
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re: Perl Tutorial code uses "qw" but has an error when run ( update Perldelta 5.14)
by LanX
in thread Perl Tutorial code uses "qw" but has an error when run
by Tio Cash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |