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







Returns the next item in the collection. You can optionally provide Next with a count (which must be greater than zero), in which case it returns a list of the next count items. Note that if you provide a scalar context in conjunction with a count, you'll only get the last item in the list of returned items. Next returns undef if it is currently on the last item in the collection.