diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/auto/POSIX/remove.al')
-rw-r--r-- | Master/tlpkg/tlperl/lib/auto/POSIX/remove.al | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/auto/POSIX/remove.al b/Master/tlpkg/tlperl/lib/auto/POSIX/remove.al new file mode 100644 index 00000000000..32665fa8ea8 --- /dev/null +++ b/Master/tlpkg/tlperl/lib/auto/POSIX/remove.al @@ -0,0 +1,13 @@ +# NOTE: Derived from ..\..\lib\POSIX.pm. +# Changes made here will be lost when autosplit is run again. +# See AutoSplit.pm. +package POSIX; + +#line 366 "..\..\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; |