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
- Re: A better way? Tim Musson
- Re: A better way? Paul
- Re[2]: A better way? Tim Musson
- Re: A better way? iansmith
- Re[2]: A better way? Tim Musson
- Re[2]: A better way? iansmith
- Re: Re[2]: A better way? Jos I. Boumans
- RE: Re[2]: A better way? Stephen Nelson
- a better way? Jerry Preston
- Re: a better way? Jeff 'japhy' Pinyan
- RE: a better way? Jerry Preston