blob: 8b8dbea7d72b3ca7a23e469d003819626257a929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package POSIX;
#line 360 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\remove.al)"
sub remove {
usage "remove(filename)" if @_ != 1;
(-d $_[0]) ? CORE::rmdir($_[0]) : CORE::unlink($_[0]);
}
# end of POSIX::remove
1;
|