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
Thread Previous
|
Thread Next