On 05/03/00, ""Scott K Purcell" <[EMAIL PROTECTED]>" wrote:
> my @allfiles = grep !/^\.\.?$/, @allfiles;
> That works well.
> Can I use the same grep philosophy to skip two files?
> @allfiles = grep !/[fish|apple]/, @allfiles; # does not work. Does not give
You probably want:
@allfiles = grep !/^(\.\.?|fish|apple)$/, @allfiles;
HTH,
Douglas Wilson
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]