Try this:
unless( $options{a} && $options{b} ) { do_stuff }
if both of those 2 keys have a value in the hash, the && will return true,
and the do_stuff won't get exuted
you can also use
if( !$foo && !$bar ) or some construct like that, but i find that less
legible...
also, if you want to have it say that if EITHER is true, the statement
should be skipped, use || instead of &&
hope this helps,
Jos Boumans
> > > That doesn't seem to work. I want if a variable doesn't equal
anything,
> > > then do something. Here's a piece:
> > > if ($options{a} eq "" && $options{a} eq "") {
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]