home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


reverse

reverse 
list

Returns a list value consisting of the elements of list in the opposite order. This is fairly efficient because it just swaps the pointers around. In scalar context, the function concatenates all the elements of list together and returns the reverse of that, character by character.


Previous: Reference: return Perl in a Nutshell Next: Reference: rewinddir
Reference: return Book Index Reference: rewinddir

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.