in reply to Changing dates
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Changing dates
by chromatic (Archbishop) on Dec 17, 2008 at 22:23 UTC | |
by MidLifeXis (Monsignor) on Dec 17, 2008 at 22:47 UTC | |
|
Re^2: Changing dates
by ITmajor (Beadle) on Dec 18, 2008 at 18:56 UTC |