aboutsummaryrefslogtreecommitdiff
path: root/Perl/Zinc
diff options
context:
space:
mode:
authormertz2003-09-15 12:25:06 +0000
committermertz2003-09-15 12:25:06 +0000
commit95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b (patch)
tree45cf09c86534821acb8563c9656143442f9c8508 /Perl/Zinc
parent33be41530ab82b852aa9aa039b82055680c7ba27 (diff)
downloadtkzinc-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/Zinc')
-rw-r--r--Perl/Zinc/Graphics.pm3
-rw-r--r--Perl/Zinc/Logo.pm6
-rw-r--r--Perl/Zinc/Text.pm4
-rw-r--r--Perl/Zinc/TraceUtils.pm3
4 files changed, 13 insertions, 3 deletions
diff --git a/Perl/Zinc/Graphics.pm b/Perl/Zinc/Graphics.pm
index e61c682..5495cb5 100644
--- a/Perl/Zinc/Graphics.pm
+++ b/Perl/Zinc/Graphics.pm
@@ -46,6 +46,9 @@
#-----------------------------------------------------------------------------------
package Tk::Zinc::Graphics;
+use vars qw( $VERSION );
+($VERSION) = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);
+
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(&buildZincItem
diff --git a/Perl/Zinc/Logo.pm b/Perl/Zinc/Logo.pm
index 96d827b..486c904 100644
--- a/Perl/Zinc/Logo.pm
+++ b/Perl/Zinc/Logo.pm
@@ -1,4 +1,5 @@
-#!/usr/bin/perl
+package Tk::Zinc::Logo;
+
#---------------------------------------------------------------
#
# Module : Logo.pm
@@ -10,7 +11,8 @@
#
#---------------------------------------------------------------
-package Tk::Zinc::Logo;
+use vars qw( $VERSION );
+($VERSION) = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);
use strict;
use Carp;
diff --git a/Perl/Zinc/Text.pm b/Perl/Zinc/Text.pm
index 2cf4fd2..63e9573 100644
--- a/Perl/Zinc/Text.pm
+++ b/Perl/Zinc/Text.pm
@@ -1,6 +1,8 @@
-
package Tk::Zinc::Text;
+use vars qw( $VERSION );
+($VERSION) = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);
+
sub new {
my $proto = shift;
diff --git a/Perl/Zinc/TraceUtils.pm b/Perl/Zinc/TraceUtils.pm
index 07b0413..55714f9 100644
--- a/Perl/Zinc/TraceUtils.pm
+++ b/Perl/Zinc/TraceUtils.pm
@@ -1,5 +1,8 @@
package Tk::Zinc::TraceUtils;
+use vars qw( $VERSION );
+($VERSION) = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);
+
use Tk;
use strict;
use Tk::Font;