Search more than one wor in a string

From: Jochen Friedmann (jochen.friedmann3_at_de.bosch.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 11:14:51 +0200

Hello,

my problem:

I am looking for two words in a string var. If there are both words in it I
want to bring out an error message.

 if (($param =~ m/move/gi)&&($param =~ m/copy/gi)){print "\n --- To much
parameters /Copy or /Move";}

Jochen