#---------------------------------- @getnew=reverse(chomp(@temp=)); foreach $new(@getnew) { $new = "\t$new"; print $new."\n"; }