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/) )

TIA
Ravi

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to