Hey Paul,
Friday, June 22, 2001, 10:14:28 PM, you wrote:
>> if ($Var eq "String") { &Sub($Var1); } elsif ($Var2 =~
>> /$STRING/) { &Sub($Var1); }
>>
>> Is this a better way?
>>
>> if (($Var eq "String") || ($Var2 =~ /$STRING/)) {
>> &Sub($Var1);
>> }
P> I like it better.
P> Personally, I'd say
P> Sub($Var1) if $Var eq "String" or $Var2 =~ /$STRING/;
Ah yes, I have done that before, don't know why I didn't think of it
here...
Thanks!
--
[EMAIL PROTECTED]
Using The Bat! eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
I was the next door kid's imaginary friend.
NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net