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; $in = <<'EOT'; foo <: print "bar"; :> quux EOT $test = <<'EOT'; print "foo\n"; print "bar"; print "\n"; print "quux\n"; EOT $rc = Parse::ePerl::Translate({ Script => $in, Result => \$out, BeginDelimiter => "<:", EndDelimiter => ":>" }); if ($rc == 1 and $out eq $test) { print "ok 1\n"; } else { print "not ok 1\n"; } @ 1.1.1.1 log @Import of ePerl 2.2.14 @ text @@