Hi,

>At 10:41 AM +0930 8/30/04, Jeremy Begg wrote:
>>Is unlink() the correct mechanism to use in OpenVMS Perl to delete one
>>or more files?  Or does that simply do a SET FILE/REMOVE ?
>
>It's a real delete with some extras, such as changing protections if necessary.  See
>
>http://www.perldoc.com/perl5.8.4/vms/perlvms.html#unlink-LIST
>
>or Perl_kill_file in [.vms]vms.c

Looks quite comprehensive!  The Perl documentation for unlink() says that it
shouldn't be used to delete directory files (presumably because Unix handles
them very differently to normal files).  Is this also true for VMS Perl? 
(Obviously deleting a .DIR;1 file in VMS without first deleting any files in
the directory is not ideal, but it doesn't break the filesystem.)

Thanks,

        Jeremy Begg

Reply via email to