http://qs1969.pair.com?node_id=847335


in reply to array question

Do you want all elements of the array at once? Then use @array. Or do you want to process each element of the array? Then use

foreach my $element (@array) { print "I am processing the element '$element'\n"; };

You might want to see perlsyn.

Further reading would be map if you want to transform elements of one array into another list.