From 95cd9dcaa3572e78ae35b78ae2203395a8a2ab1b Mon Sep 17 00:00:00 2001 From: mertz Date: Mon, 15 Sep 2003 12:25:06 +0000 Subject: adding a $VERSION variable to conform CPAN requirement --- Perl/Zinc/Text.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Perl/Zinc/Text.pm') 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; -- cgit v1.1