Heh, a friend of mine just did something similar. He has a "quote of the minute" on his
web site.
The concept is thus:
my @images = (...);
# new one each minute
my $display = $images[(time/60) % @images];
Is that sufficient? Divide by 3600 for an image each hour, etc.
_____________________________________________________
Jeff
japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and
perl
hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart