softworkz has asked for the wisdom of the Perl Monks concerning the following question:
if ($month eq 07 || 7) { $monthStamp = "July"; print "$monthStamp"; } if ($month eq 08 || 8) { $monthStamp = "August"; print "$monthStamp"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem or bug?
by Masem (Monsignor) on Oct 11, 2001 at 23:03 UTC | |
|
Re: problem or bug?
by dragonchild (Archbishop) on Oct 11, 2001 at 23:04 UTC | |
by blakem (Monsignor) on Oct 11, 2001 at 23:15 UTC | |
by softworkz (Monk) on Oct 11, 2001 at 23:07 UTC | |
|
Re: problem or bug?
by guidomortonski (Sexton) on Oct 12, 2001 at 02:52 UTC |