for my $f (reverse @file) { print $f; } #### while (@file) { print pop @file; }