in reply to
Short or Long Hand
See what you guys are saying but I know $day will be 0..6 as it comes from the weekday field from
localtime()
. What I'm looking for is the days 1..5. Which I think I get from the code above.
Comment on
Re: Short or Long Hand
Download
Code
Replies are listed 'Best First'.
Re^2: Short or Long Hand
by
Joost
(Canon)
on Aug 12, 2004 at 15:27 UTC
Then:
if ($day > 0 && $day < 6) {
[download]
I think is pretty clear.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
[reply]
[d/l]
In Section
Seekers of Perl Wisdom