diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-01-13 13:50:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-01-13 13:50:40 +0000 |
commit | bd7017d37d1ea75ed228b98d66032e165497283f (patch) | |
tree | 832f9b659133e2b6eca45981bf727cdec1d218e4 /lib/utf8.pm | |
parent | 73cb726371990cd489597c4fee405a9815abf4da (diff) | |
download | perl-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.pm | 1 |
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"); } |