home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / lib / perl / 5.8.8 / auto / POSIX / opendir.al < prev    next >
Encoding:
Text File  |  2006-07-07  |  386 b   |  17 lines

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