Nigel Peck wrote: > > In Perl can I say: > > if this = that or that or that > > instead of saying: > > if this = that or this = that or this = that
No. What do you want? if ($this == $that) { : } elsif ($this == $that) { : } elsif ($this == $that) { : } else { : } At least let's do ABCs, IJKs and XYZs :) Will your test be a simple equality or a pattern match? Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]