Science, Tech, Math › Computer Science Perl Array Reverse() Function: Quick Tutorial Share Flipboard Email Print hackNY.org / Flickr / CC BY-SA 2.0 Computer Science Perl PHP Programming Python Java Programming Javascript Programming Delphi Programming C & C++ Programming Ruby Programming Visual Basic View More By Kirk Brown Computer Science Expert B.A., Abilene Christian University Kirk Brown is a systems software engineer with expertise in Perl, PHP, Ruby, and Python. our editorial process Kirk Brown Updated February 24, 2019 Perl's reverse() function is used to reverse the order of an array. The function returns a reversed array but does not reverse the array. @REVERSED_LIST = reve reverse()returns @myNames = ('Jacob', 'Michael', 'Ethan', & @reversedNames = revers @myNamesreverse()@myNames@reversedNames@reversedNames('Andrew', 'Ethan', 'Michael', 'Jacob') , and @myNames remains the same.