Perl Primer

For example, the Python program: Will print out: Note that if the list is empty the loop is not executed at all. The for loop is very useful for iterating over the elements of an array. It can also be used to loop over a set of integer values: remember that you can create a list of integers using the function range. ................
................