use strict; use warnings; ... #### print 2*$_, "\n", foreach (1..20); #### for ( 1..20 ) { print 2*$_, "\n"; }