[Module-build-checkins] Module-Build/t/lib DistGen.pm,1.9,1.10
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <si...@us...> - 2005-07-01 11:15:07
|
Update of /cvsroot/module-build/Module-Build/t/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31041/t/lib Modified Files: DistGen.pm Log Message: Remove uses of 'our' in generated distributions. Index: DistGen.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/lib/DistGen.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- DistGen.pm 29 Jun 2005 07:55:58 -0000 1.9 +++ DistGen.pm 1 Jul 2005 11:14:53 -0000 1.10 @@ -64,6 +64,7 @@ $self->add_file( $module_filename, <<"---" ) unless $self->{filedata}{$module_filename}; package $self->{name}; +use vars qw( \$VERSION ); \$VERSION = '0.01'; use strict; @@ -102,8 +103,9 @@ use base qw( Exporter DynaLoader ); -our \$VERSION = '0.01'; -our \@EXPORT_OK = qw( ok ); +use vars qw( \$VERSION \@EXPORT_OK ); +\$VERSION = '0.01'; +\@EXPORT_OK = qw( ok ); bootstrap $self->{name} \$VERSION; @@ -340,12 +342,13 @@ =head1 NAME -DistGen +DistGen - Creates simple distributions for testing. =head1 DESCRIPTION + =head1 API |