Did you run this through use strict; use warnings;? Check the precedence of your operators. This code:
is actually the same as
if (($foo == "A") || ("B") || ("C"))which should reduce to if (1). Also, you have a $start_day == 01 in every section. == is a comparison, = is an assignment.
--MidLifeXis
In reply to Re: Changing dates
by MidLifeXis
in thread Changing dates
by ITmajor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |