RE: Syntax for Multiple conditions

2005-03-21 Thread Bryan Baldus
See perldoc perlop for Equality Operators. I believe: if ($field_100 && (($fic == '1') and ($juvie == 'j'))) { should be if ($field_100 && (($fic eq '1') and ($juvie eq 'j'))) { Also, on: my $field_008 = $r->field('008'); my $field_100 = $r->field('100'); I thought I had received wa

Syntax for Multiple conditions

2005-03-21 Thread Jacobs, Jane W
I'm trying to write what I though was fairly simple Boolean Logic. I can't seem to hit the right syntax for more than two conditions in the same "if" clause. My plan is to check: 1) Is there is a 100 field? 2) Is the fixed field FIC=1? 3) Is the fixed field Audn= j? I