summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/URI/urn.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/URI/urn.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/URI/urn.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/tlpkg/tlperl/lib/URI/urn.pm b/Master/tlpkg/tlperl/lib/URI/urn.pm
index 12d40b265bc..4c594f5b5da 100644
--- a/Master/tlpkg/tlperl/lib/URI/urn.pm
+++ b/Master/tlpkg/tlperl/lib/URI/urn.pm
@@ -1,12 +1,13 @@
package URI::urn; # RFC 2141
-require URI;
-@ISA=qw(URI);
-
use strict;
+use warnings;
+
+use parent 'URI';
+
use Carp qw(carp);
-use vars qw(%implementor);
+my %implementor;
sub _init {
my $class = shift;