Heretofore I have used readdir() almost exclusively to walk directories. And until I started using Perl 5.6.1. on VMS recently that was delightfully more than adequate. However, I am applying Perl to a data analysis problem on one of our (it ain't open) VMS systems. And I need to see all of the files in a directory not just the highest versions of the files.
Alas readdir() can't handle that request. However, globbing, as in
does pick up all versions.while (<*.*;*>) { my $file = $_; print "$file \n"; # or whatever. }
In reply to All versions of VMS files by Njall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |