start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: read Chapter 5
Function Reference
Next: Reference: readline
 

readdir

readdir 
dirhandle

Reads directory entries from a directory handle opened by opendir . In scalar context, this function returns the next directory entry, if any; otherwise, it returns an undefined value. In list context, it returns all the rest of the entries in the directory, which will of course be a null list if there are none.


Previous: Reference: read Perl in a Nutshell Next: Reference: readline
Reference: read Book Index Reference: readline

Library Navigation Links

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