summaryrefslogtreecommitdiff
path: root/lib/utf8.pm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-13 13:50:40 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-13 13:50:40 +0000
commitbd7017d37d1ea75ed228b98d66032e165497283f (patch)
tree832f9b659133e2b6eca45981bf727cdec1d218e4 /lib/utf8.pm
parent73cb726371990cd489597c4fee405a9815abf4da (diff)
downloadperl-bd7017d37d1ea75ed228b98d66032e165497283f.tar.gz
utf.pm needs to require Carp before croak()ing
p4raw-id: //depot/perl@23788
Diffstat (limited to 'lib/utf8.pm')
-rw-r--r--lib/utf8.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm
index 817a61ccbd..e0b9f85b26 100644
--- a/lib/utf8.pm
+++ b/lib/utf8.pm
@@ -16,6 +16,7 @@ sub unimport {
sub AUTOLOAD {
require "utf8_heavy.pl";
goto &$AUTOLOAD if defined &$AUTOLOAD;
+ require Carp;
Carp::croak("Undefined subroutine $AUTOLOAD called");
}