Mega Code Archive

 
Categories / Perl / Array
 

The List Separator Variable

#!/usr/local/bin/perl (@array) = (1..5, "A", "B", "C"); print STDOUT "@array\n\n"; print STDOUT "The behavior of array printing without quotes.\n"; print STDOUT @array; print "\n\n";