Even my pickaxe book suggests this should work but it doesn’t…
for tax in @taxes
next if ! (tax.taxauthid === [ 24, 25, 26, 27, 36, 37, 38, 39])
print tax.taxamount + " - " + tax.taxauthid + “\n”
and my thinking is that if the tax.taxauthid is not found in the set of
values, it should jump to the next value of tax.
Why doesn’t this work?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.