in reply to Re: Using Push and Pop. - response to updatein thread Using Push and Pop.
foreach (map $_, @file) { my $test = pop (@file); print $test; } [download]