head 1.1; branch 1.1.1; access ; symbols ePerl_2_2_14:1.1.1.1 RSE:1.1.1; locks ; strict; comment @# @; 1.1 date 99.05.02.14.43.40; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.02.14.43.40; author rse; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @ BEGIN { $| = 1; print "1..1\n"; } use Parse::ePerl; open(TMP, ">tmpfile"); print TMP <<'EOT'; bar EOT close(TMP); $in = <<'EOT'; foo #include tmpfile quux EOT $test = <<'EOT'; foo bar quux EOT $rc = Parse::ePerl::Preprocess({ Script => $in, Result => \$out, INC => [ 'One', '.', 'Three' ] }); if ($rc == 1 and $out eq $test) { print "ok 1\n"; } else { print "not ok 1\n"; } unlink("tmpfile"); @ 1.1.1.1 log @Import of ePerl 2.2.14 @ text @@