summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm b/Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm
index 614a59a85e5..69f8dcaa447 100644
--- a/Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm
+++ b/Master/tlpkg/tlperl/lib/Devel/InnerPackage.pm
@@ -4,7 +4,7 @@ use strict;
use base qw(Exporter);
use vars qw($VERSION @EXPORT_OK);
-$VERSION = '0.3';
+$VERSION = '0.4';
@EXPORT_OK = qw(list_packages);
=pod
@@ -83,12 +83,12 @@ sub list_packages {
sub _loaded {
my ($class, $name) = @_;
- no strict 'refs';
+ no strict 'refs';
# Handle by far the two most common cases
# This is very fast and handles 99% of cases.
return 1 if defined ${"${name}::VERSION"};
- return 1 if defined @{"${name}::ISA"};
+ return 1 if @{"${name}::ISA"};
# Are there any symbol table entries other than other namespaces
foreach ( keys %{"${name}::"} ) {