summaryrefslogtreecommitdiff
path: root/lib/utf8.pm
diff options
context:
space:
mode:
authorSimon Cozens <simon@netthink.co.uk>2000-08-01 06:55:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-11 01:30:16 +0000
commitdaf4d4ea57f31fbfc23438d8d6f6bb9c48b870bd (patch)
tree17462a874d3aca8225dec37099135b3d019aae60 /lib/utf8.pm
parent157b066d3e26f62c196b73acfe1e68a07ecbf2dd (diff)
downloadperl-daf4d4ea57f31fbfc23438d8d6f6bb9c48b870bd.tar.gz
Re: [ID 20000730.003] utf8::length() bad
Message-ID: <slrn8oct2n.19l.simon@justanother.perlhacker.org> p4raw-id: //depot/perl@6593
Diffstat (limited to 'lib/utf8.pm')
-rw-r--r--lib/utf8.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm
index 17ec37bbe2..35be28caa7 100644
--- a/lib/utf8.pm
+++ b/lib/utf8.pm
@@ -13,7 +13,8 @@ sub unimport {
sub AUTOLOAD {
require "utf8_heavy.pl";
- goto &$AUTOLOAD;
+ goto &$AUTOLOAD if defined &$AUTOLOAD;
+ Carp::croak("Undefined subroutine $AUTOLOAD called");
}
1;