#!./perl
BEGIN {
chdir 't' if -d 't';
}
require "./test.pl";
print TRY "a line\n";
$x = runperl(
);
{
$x = runperl(
);
$x = runperl(
);
}
while (<>) {
$y .= $. . $_;
}
}
$^I = '_bak'; # not .bak which confuses VMS
$/ = undef;
my $i = 6;
while (<>) {
s/^/ok $i\n/;
++$i;
print;
}
print while <TRY>;
print while <TRY>;
undef $^I;
@ARGV = ();
@ARGV = ();
{
local $/;
<F>; # set $. = 1
}
# This used to dump core
print OUT "foo";
while (<>) {
print;
}
**PROG**
END {
}