in reply to Using Push and Pop.
for my $f (reverse @file) { print $f; } [download]
while (@file) { print pop @file; } [download]