home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / Perl / RPC / !Perl / lib / zip / auto / POSIX / opendir.al < prev    next >
Encoding:
Text File  |  1999-04-05  |  388 b   |  17 lines

  1. # NOTE: Derived from ../../lib/POSIX.pm.
  2. # Changes made here will be lost when autosplit again.
  3. # See AutoSplit.pm.
  4. package POSIX;
  5.  
  6. #line 274 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/opendir.al)"
  7. sub opendir {
  8.     usage "opendir(directory)" if @_ != 1;
  9.     my $dirhandle = gensym;
  10.     CORE::opendir($dirhandle, $_[0])
  11.     ? $dirhandle
  12.     : undef;
  13. }
  14.  
  15. # end of POSIX::opendir
  16. 1;
  17.