in reply to What does &! mean?

First I think that this is a typo. It should read:
if ($key =~ /^PERIODEND/ && !$budgetdata) { BudgetGroup->budget($input, $myclass, 3) }
But this code does work.
my $key = "PERIODEND"; my $budgetdata = 0; print $key =~ /^PERIODEND/, "\n"; print $budgetdata, "\n"; if ($key =~ /^PERIODEND/ & !$budgetdata) { BudgetGroup->budget($input, $myclass, 3) }
So this would be true as 1 bitwise and 1 = 1.

-- gam3
A picture is worth a thousand words, but takes 200K.