Njall has asked for the wisdom of the Perl Monks concerning the following question:
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. }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: All versions of VMS files
by grinder (Bishop) on May 11, 2005 at 17:57 UTC | |
Re: All versions of VMS files
by Elian (Parson) on May 11, 2005 at 21:25 UTC | |
Re: All versions of VMS files
by Tanktalus (Canon) on May 11, 2005 at 16:44 UTC |