Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
> > if ( ($newname eq $name) and ($newcompany eq $company) ) {
> > $isdup = 1;
> > }
> >
> > Combining the two if statements may not work for you, if you
> > have other stuff that executes outside of the company block
> > but still within the name block. Either way, use either '=='
> > or 'eq', not '='. That's an assignment (and probably a typo). :-)
>
> A VB induced typo. Switching between VB and Perl isn't fun.
> I'd use eq, as
> they're both text. I thought it was &&, not and though...
Either should work. I use &&, but a lot of people like 'and'.
--J
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/