Hey all,

I have this code fragment.

if ($Var eq "String") { 
    &Sub($Var1);
} elsif ($Var2 =~ /$STRING/) {
    &Sub($Var1);
}

Is this a better way?

if (($Var eq "String") || ($Var2 =~ /$STRING/)) {
    &Sub($Var1);
}

-- 
[EMAIL PROTECTED]
Using The Bat! eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
Why is it called lipstick if you can still move your lips?


NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net

Reply via email to