11 my $nonfile = tempfile();
13 @INC = qw(Perl Rules);
19 like $@, qr/^Can't locate $nonfile in \@INC \(\@INC contains: @INC\) at/;
22 require "$nonfile.ph";
25 like $@, qr/^Can't locate $nonfile\.ph in \@INC \(did you run h2ph\?\) \(\@INC contains: @INC\) at/;
31 like $@, qr/^Can't locate $nonfile\.h in \@INC \(change \.h to \.ph maybe\?\) \(did you run h2ph\?\) \(\@INC contains: @INC\) at/;
33 # I can't see how to test the EMFILE case
34 # I can't see how to test the case of not displaying @INC in the message.
35 # (and does that only happen on VMS?)