Ravi Malghan wrote: > Hello: I seem to have forgotten > > Can this statement be shortened > if(($node =~ /net/) || ($node =~ /gaat/)) > > The following does not give me the expected results > if($node =~ (/net/ || /gaat/) ) >
if ($node =~ /net|gaat/) { perldoc perlre perlretut perlrequick -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]