diff options
Diffstat (limited to 'Perl/Zinc/Text.pm')
-rw-r--r-- | Perl/Zinc/Text.pm | 4 |
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; |