This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: Fix grammar
[perl5.git] / t / lib / warnings / universal
CommitLineData
767a6a26 1 universal.c AOK
599cee73 2
767a6a26
PM
3 Can't locate package %s for @%s::ISA [S_isa_lookup]
4
599cee73
PM
5
6
7__END__
767a6a26 8# universal.c [S_isa_lookup]
b0f01acb 9print("SKIPPED\n# todo fix: overloading triggers spurious warnings\n"),exit;
4438c4b7 10use warnings 'misc' ;
767a6a26
PM
11@ISA = qw(Joe) ;
12my $a = bless [] ;
13UNIVERSAL::isa $a, Jim ;
599cee73 14EXPECT
767a6a26 15Can't locate package Joe for @main::ISA at - line 5.
012bcf7e
BF
16########
17# universal.c [S_isa_lookup]
18print("SKIPPED\n# todo fix: overloading triggers spurious warnings\n"),exit;
19use warnings 'misc' ;
20use utf8;
21use open qw( :utf8 :std );
22package Y;
23@ISA = qw(Joe) ;
24my $a = bless [] ;
25UNIVERSAL::isa $a, Jim ;
26EXPECT
27Can't locate package Joe for @Y::ISA at - line 8.