OK here is the deal You have smth like this: <expresion> -> 'begin'<number><operator>'end' <number> -> 'sign'<number> <expresion> -> ''''<a><>>><b>''''';' Ok & now u should separate the elements from '' in @list1, and those from <> in @list2 . Don't forget that you could have the elements << or >> in a tag , i.e. <<<> or <>>> and u can have ' or '' in quotas, i.e. ''' or '''' and another expresion may be smth like this <a>>b> - 'a' is a lot more than 'b'. And another thing is those spaces which we should reduce with smth like s/^\s*//; This is needed to create an syntactic analyzor... And I don't know what pattern should I use to cover those lines ...
S uvazheniem, Monomachus ------------------------ Don't worry, Be Happy --------------------------------------------- This e-mail was sent using Mail.md -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>