Reference: Next (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: CloneChapter 19
Win32 Modules and Extensions
Next: Reference: Reset
 

Next

$Enum->Next([count])

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.


Previous: Reference: ClonePerl in a NutshellNext: Reference: Reset
Reference: CloneBook IndexReference: Reset

Library Navigation Links

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