Can I assume that it's not possible to use grep in a Win32 perl script? I'm trying to filter the files that READDIR reads in from a directory. I need to get one list of of TIFF files, and another list of all PDF files in a particular directory.
A textbook example of what I'm trying to do is - @allfiles = grep {$_ ne '.' and $_ ne '..' } readdir THISDIR; This is where grep comes in, but I assume I can't use this idea for my own script. How else can I do the same thing? (filtering the output of "readdir"?) Regs Rupert Heesom Asst Distribution Engineer Adventist World Radio
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]