Tk::Clock
Clock widget for Perl/Tk with analog and/or digital display
DESCRIPTION
A canvas clock widget with both analog and digital representation of both time and date.
It is highly configurable for as far as colors and fonts and the way time and date is displayed.
The year is displayed in two digits in the default configuration, which makes it not Y2K compliant.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Recent changes can be (re)viewed in the public GIT repository at http://repo.or.cz/w/Tk-Clock.git Feel free to clone your own copy:
$ git clone http://repo.or.cz/r/Tk-Clock.git Tk-Clock
or get it as a tgz:
$ wget --output-document=Tk-Clock-git.tgz \
'http://repo.or.cz/w/Tk-Clock.git?a=snapshot;sf=tgz'
PREREQUISITES
perl5 (probably 5.004.04 or better) Tk (probably 400.xxx or better)
This port was tested on several OS's with perl-5.8.8-dor, perl-5.8.7-dor, and perl-5.8.5-dor in 32bit and 64bit builds all with Tk-804.027.
BUILDING AND INSTALLATION
As all CPAN modules:
# perl Makefile.PL
# make test
# make install
make test should run the clock with some changing contrasting colors showing the following configurations for 4 seconds each:
BUGS
Probably a few. One of them is that if you change the clock too often with ->config (), some elements might not be moved correctly, like getting a clock with 5 hands :)
CHANGES
See ChangeLog
COPYRIGHT AND LICENSE
Copyright (C) 1999-2010 H.Merijn Brand
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
As always, have the appropriate amount of fun!