diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-09 13:54:07 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-09 13:54:07 +0000 |
commit | 94bb614c5f008cb313aee959fed545d0f9423d41 (patch) | |
tree | c54e56774c64df63a0790180509e2044197c2c69 /pod/perlport.pod | |
parent | 5fe7c0f53782c7b8cd0c9725f30e843cce08406d (diff) | |
download | perl-94bb614c5f008cb313aee959fed545d0f9423d41.tar.gz |
Use the tried method.
p4raw-id: //depot/perl@11963
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r-- | pod/perlport.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod index cb358f6393..9abaff6666 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -366,7 +366,7 @@ remove all the versions because by default the native tools on those platforms remove just the most recent version, too). The portable idiom to remove all the versions of a file is - 1 while unlink "file" or die $!; + 1 while unlink "file"; This will terminate if the file is undeleteable for some reason (protected, not there, and so on). |