open FH, $path or die "Could not open '$path': $!";
local $/;
<FH>;
};
$VAR1 = undef;
eval $content
}
local *FH;
open FH, $path or die "Could not open '$path': $!";
local $/;
<FH>;
};
return $content;
}
1;
# Local Variables:
# mode: cperl
# cperl-indent-le
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
ed.\n"; exit(1) }
} elsif( ! defined $INPUT_STRING ){
# read from STDIN
$INPUT_STRING = do { local $/; <STDIN> }
}
my $result = Data::Roundtrip::json2json($INPUT_STRING, \%params);
if( ! defined $r
ed.\n"; exit(1) }
} elsif( ! defined $INPUT_STRING ){
# read from STDIN
$INPUT_STRING = do { local $/; <STDIN> }
}
my $result = Data::Roundtrip::yaml2json($INPUT_STRING, \%params);
if( ! defined $r
ed.\n"; exit(1) }
} elsif( ! defined $INPUT_STRING ){
# read from STDIN
$INPUT_STRING = do { local $/; <STDIN> }
}
my $result = Data::Roundtrip::dump2json($INPUT_STRING, \%params);
if( ! defined $r
"'$build_prereqs': $!");
local $/;
<FH>;
};
my $bphash = eval $con
ed.\n"; exit(1) }
} elsif( ! defined $INPUT_STRING ){
# read from STDIN
$INPUT_STRING = do { local $/; <STDIN> }
}
my $result = Data::Roundtrip::yaml2dump($INPUT_STRING, \%params);
if( ! defined $r
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
open FH, $aslocal or die;
local $/;
<FH> };
if ($content =~ /^<.*(<title>[45]|Error [45])/si
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
lurp
{
my $file = shift;
local *F;
open F, $file or die "$file: $!\n";
my $data = do { local $/; <F> };
close F;
return $data;
}
for my $cur (sort keys %cc) {
print "# -- $cur --\n";
ed\n";
}
else {
open FH, "tests/include/include.c" or die;
my $code = do { local $/; <FH> };
close FH;
print "# parse ($arg) called\n";
$p->parse($code);
pr
rt::Binary::C::Cached;
$^W = 1;
BEGIN { plan tests => 7302 }
my($code, $data);
$code = do { local $/; <DATA> };
$data = "abcd";
my %code = (
macro => <<'ENDC',
#define FOO 1
#define FOO 2
ENDC
parse full initialization code");
ok( @warn == 0 );
}
for my $snip ( split /={40,}/, do { local $/; <DATA> } ) {
my($code, @tests) = split /-{40,}/, $snip;
eval { $c->clean->parse($code) };
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
my $open;
print "# checking '$ex'\n";
if( $open = open FILE, "$perl $ex |" ) {
$out = do { local $/; <FILE> };
close FILE;
}
ok( $open );
ok( length($out) > 0 );
ok( $?, 0 );
}
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm