on Wed, 10 Jul 2002 14:10:17 GMT, [EMAIL PROTECTED] (Rupert Heesom)
wrote: 

> Can I assume that it's not possible to use grep in a Win32 perl
> script? 

There is grep-the-command-line-tool, which you would call using e.g.

        $output = `grep whatever`;

and which is not included with a Win32 OS,

and there is grep-the-Perl-function, which you could use as e.g.

> @allfiles = grep {$_ ne '.' and $_ ne '..' } readdir THISDIR;

and which is available on any platform that supports Perl.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to