While it would seem to be intuitive, perl cannot use a single ==/eq to compare many things at once, you have to do each separately.if ( $month eq '07' || $month eq '7' ) { ... }
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
In reply to Re: problem or bug?
by Masem
in thread problem or bug?
by softworkz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |