summaryrefslogtreecommitdiff
path: root/jpl/JNI/JNI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'jpl/JNI/JNI.pm')
-rw-r--r--jpl/JNI/JNI.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/jpl/JNI/JNI.pm b/jpl/JNI/JNI.pm
index c91ae9c998..6ef65e275a 100644
--- a/jpl/JNI/JNI.pm
+++ b/jpl/JNI/JNI.pm
@@ -198,7 +198,7 @@ sub AUTOLOAD {
($constname = $AUTOLOAD) =~ s/.*:://;
my $val = constant($constname, @_ ? $_[0] : 0);
if ($! != 0) {
- if ($! =~ /Invalid/ || $!{EINVAL}) {
+ if ($! =~ /Invalid/) {
$AutoLoader::AUTOLOAD = $AUTOLOAD;
goto &AutoLoader::AUTOLOAD;
}
@@ -318,8 +318,6 @@ JNI - Perl encapsulation of the Java Native Interface
=head1 DESCRIPTION
-This module provides an encapsulation in Perl of the Java Native Interface.
-
=head1 Exported constants
JNI_ABORT