> $regex = 'join ('|', keys %lookFor); > if (/($regex)/o) { > # Now switch on $1 for your specific sub-tests like /Factory/ etc > } > could you kindly elaborate some on this part? I thought one could only "switch" on numeric values? switch { case 1: case 2: case 3: default: } Regards, Ron -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Code for review Yacketta, Ronald
- Re: Code for review Peter Scott
- Re: Code for review Thomas A . Lowery
- RE: Code for review Yacketta, Ronald
- RE: Code for review Peter Scott
- RE: Code for review Yacketta, Ronald
- RE: Code for review Peter Scott