Windows2003-3790/tools/perl/lib/auto/posix/opendir.al
2020-09-30 16:53:55 +02:00

17 lines
402 B
Perl

# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package POSIX;
#line 105 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\opendir.al)"
sub opendir {
usage "opendir(directory)" if @_ != 1;
my $dirhandle;
CORE::opendir($dirhandle, $_[0])
? $dirhandle
: undef;
}
# end of POSIX::opendir
1;