Perl Array reverse() Function - Quick Tutorial

person typing on laptop
hackNY.org/Flickr/CC BY-SA 2.0
 @REVERSED_LIST = reverse(@ARRAY); 
reverse()
returns
 @myNames = ('Jacob', 'Michael', 'Ethan', 'Andrew');
@reversedNames = reverse(@myNames); 
@myNames
reverse()
@myNames
@reversedNames
@reversedNames
('Andrew', 'Ethan', 'Michael', 'Jacob')

, and @myNames remains the same.