Hello guys, thanks for your ideas and friendly support. After evaluating all pros and cons I selected (don't panic!) full enumeration of possibilities' method (i.e. with "for" loop). Why? The task is to check if some attributes has appropriate values. All possible values are known, and have to fit 1 to 1. So grep or other RE methods don't fit to this job. Why not "exists" function? The lists of possible values is fixed, so I could optimize search process by collecting statistic and put most frequent values to the beginning of the list.
My spetial thanks to Peter Eisengrein. As in many other cases, "RTFM" is most valuable and comprehensive answer :-) (smiling, but meaning it seriously). WBW, Tim ---------------------------------------------------------------- (EXTERN) CHAKIROV, Timour (TZ CIS / DS ESQ3) Robert Bosch GmbH Tel: +49 (0) 711-811- 3 00 48 Postfach 30 02 20 Fax: +49 (0) 711-811- 3 18 00 D-70442 Stuttgart e-mail: [EMAIL PROTECTED] Besucher: Wernerstr.51, Fe533/3, D-70469 Stuttgart-Feuerbach _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs