$test = @test; #This will be useful in the next statment #### while( @test ){ ... shift @test; }