in reply to Re: basic question:how to print a reversed array from STDIN
in thread basic question:how to print a reversed array from STDIN

I think this is neater:
chomp(@getnew = reverse <STDIN>);