package Pod::Constants;
-use 5.004;
+use 5.006002;
use strict;
+use warnings;
use base qw(Pod::Parser Exporter);
use Data::Dumper;
use Carp;
-use vars qw($VERSION);
-$VERSION = 0.17;
+our $VERSION = 0.17;
# An ugly hack to go from caller() to the relevant parser state
# variable
=head1 SYNOPSIS
- use vars qw($myvar $VERSION @myarray $html %myhash);
+ our ($myvar $VERSION @myarray $html %myhash);
use Pod::Constants -trim => 1,
'Pod Section Name' => \$myvar,
=cut
- use vars qw($VERSION);
+ our $VERSION;
use Pod::Constants -trim => 1,
'MODULE RELEASE' => sub { ($VERSION) = m/(\d+\.\d+) or die };