It would seem this has to be $max_nb, since $total is initialized to 0. Ie, Octopussy::Parameter('wizard_max_msgs') is returning undef.
You could check that by throwing in something:
my $max_nb = Octopussy::Parameter('wizard_max_msgs'); die "$max_nb undefined!" unless (defined $max_nb);
In reply to Re: uninitialized value in numeric gt (>) in perl
by halfcountplus
in thread uninitialized value in numeric gt (>) in perl
by murphybr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |