aboutsummaryrefslogtreecommitdiff
path: root/Perl/Zinc/Text.pm
diff options
context:
space:
mode:
authormertz2003-09-15 12:25:06 +0000
committermertz2003-09-15 12:25:06 +0000
commit95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b (patch)
tree45cf09c86534821acb8563c9656143442f9c8508 /Perl/Zinc/Text.pm
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/Text.pm')
-rw-r--r--Perl/Zinc/Text.pm4
1 files changed, 3 insertions, 1 deletions
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;