home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / full / activeperl / APi522e.exe / data.z / opendir.al < prev    next >
Encoding:
Text File  |  1999-11-02  |  404 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.