On Mon, Apr 11, 2005 at 07:11:35AM +1000, Andrew Savige wrote: : > "my(@array)=qw(1 2 3);" gives error. "my @array=qw(1 2 3);" works. Is it : > the right behaviour? Both worked well with Perl 5. : : qw(1 2 3) is now spelled <1 2 3> I think.
qw should also still work as an abbreviation for q:w. (Though perhaps not with () as the delimiter, since that should be calling function qw instead.) Larry