c:\test>perl -wle"print for scalar 'a','b','c'" a b c c:\test>perl -wle"@a = (1,2,3); print for @a" 1 2 3 c:\test>perl -wle"@a = 1,2,3; print for @a" Useless use of a constant in void context at -e line 1. Useless use of a constant in void context at -e line 1. 1