in reply to Re: Using Push and Pop. - response to update
in thread Using Push and Pop.

Based on that perlsyn quote, another (inefficient) solution would be to convert the array into a list:
foreach (map $_, @file) { my $test = pop (@file); print $test; }