This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct err msg when calling stub w/no autoload fb
[perl5.git] / t / lib / croak / pp_hot
CommitLineData
c220e1a1
FC
1__END__
2# NAME calling undef sub belonging to undef GV
3 my $foosub = \&foo;
4 undef *foo;
5 &$foosub;
6EXPECT
7Undefined subroutine &main::foo called at - line 3.
8########
9# NAME calling undef sub resident in its GV
10 my $foosub = \&foo;
11 &$foosub;
12EXPECT
13Undefined subroutine &main::foo called at - line 2.