Perl 5's glob() function
Posted on 1997-11-20
I have just finished writing a script on my test machine making use of Perl 5's functionality and specifically, the GLOB function.
However, our production machine does not have Perl 5, but Perl 4 and therefore the code dependent upon the output of GLOB will not work.
Basically, the script itself will not work.
Is there an equivalent function to GLOB for Perl 4? Or perhaps some code I could use to match this:
>@WorkingFiles = glob("$WorkingDir/$FileExt");
>foreach $FileName (@WorkingFiles)
I'm working with files and filenames so the output of my script is dependent upon the data GLOB returns. :*(
It is very important that I am able to specify the files returned to me by wildcards (thus the usefulness of GLOB in this situation).