diff options
author | mertz | 2003-09-15 12:25:06 +0000 |
---|---|---|
committer | mertz | 2003-09-15 12:25:06 +0000 |
commit | 95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b (patch) | |
tree | 45cf09c86534821acb8563c9656143442f9c8508 /Perl/demos/Tk/demos/zinc_lib/counter.pl | |
parent | 33be41530ab82b852aa9aa039b82055680c7ba27 (diff) | |
download | tkzinc-95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b.zip tkzinc-95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b.tar.gz tkzinc-95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b.tar.bz2 tkzinc-95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b.tar.xz |
adding a $VERSION variable to conform CPAN requirement
Diffstat (limited to 'Perl/demos/Tk/demos/zinc_lib/counter.pl')
-rw-r--r-- | Perl/demos/Tk/demos/zinc_lib/counter.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Perl/demos/Tk/demos/zinc_lib/counter.pl b/Perl/demos/Tk/demos/zinc_lib/counter.pl index 5eded67..a0e9534 100644 --- a/Perl/demos/Tk/demos/zinc_lib/counter.pl +++ b/Perl/demos/Tk/demos/zinc_lib/counter.pl @@ -1,14 +1,16 @@ #!/usr/bin/perl # This simple demo has been developped by C. Schlienger <celine@intuilab.com> +package counter; # for avoiding symbol collision between different demos + +use vars qw( $VERSION ); +($VERSION) = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/); use Tk; use Tk::Zinc; use strict; use constant; -package counter; # for avoiding symbol collision between different demos - my constant $PI=3.1416; my $boldfont = '-adobe-helvetica-bold-r-normal--20-240-100-100-p-182-iso8859-1'; |