Web Development
perltk.txt
Associated article: Compiling Perl/Tk Scripts
Tags: Web Development
Published source code accompanying the article by Cameron Laird in which he examines Perl/Tk, an interpreted scripting language for making widgets and programs with GUIs.
Compiling Perl/Tk Scripts
by Cameron Laird
Example 1:
use Tk;
sub set_time() {
($sec, $min, $hour) = localtime(time);
$label->configure(-text => sprintf(
"The twenty-four hour time now is $hour:%02d:%02d.",
$min, $sec));
# After another half ...


