From: "Mundell, R. \(Ronald\)" <[EMAIL PROTECTED]>
> I need to know how to do multiple grep's with a single grep.

What do you mean? You mean you want to filter the list using several 
conditions?

        @result = grep {condition1($_) and condition2($_) and 
condition3($_)} @list;

Or you want to filter several lists in parallel? Or ...

Please explain in greated detail what you want to acomplish. 
Preferably using pseudo-code (something that looks as much as code as 
possible, but doesn't have to compile).

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to