Demote the surrogate and non-character errors to warnings.
[p5sagit/p5-mst-13.2.git] / t / lib / compmod.pl
CommitLineData
7200bc44 1#!./perl
2
3BEGIN {
4 chdir '..' if -d '../pod' && -d '../t';
5 @INC = 'lib';
6}
7
8my $module = shift;
9
10# 'require open' confuses Perl, so we use instead.
11eval "use $module ();";
12if( $@ ) {
13 print "not ";
14 warn "require failed with '$@'\n";
15}
16print "ok - $module\n";
17
18