in reply to Perl Tutorial code uses "qw" but has an error when run
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
|
|---|