my $status;
if ( open REPORT, "< $a_rpt" ) {
my $report = do { local $/; <REPORT> };
close REPORT;
my $summary = ( parse_report_Config(
;
local *REPORT;
if ( open REPORT, "< $self->{file}" ) {
$self->{body} = do { local $/; <REPORT> };
close REPORT;
} else {
require Carp;
Carp::croak( "Cann
ef $nameorref eq 'GLOB' ) {
*SMOKERSLT = *$nameorref;
$self->{_outfile} = do { local $/; <SMOKERSLT> };
$vmsg = "from anonymous filehandle";
} else {
if ( $nameorre
ef $nameorref eq 'GLOB' ) {
*BUILDCFG = *$nameorref;
$self->{_buildcfg} = do { local $/; <BUILDCFG> };
$vmsg = "anonymous filehandle";
} else {
if ( $nameorref ) {
$bcfg_file);
my $content;
if (open(my $fh, '<', $fullname)) {
$content = do { local $/; <$fh> };
close($fh);
}
else {
warn("Cannot open($fullname): $!");
rn if ! defined $logfile;
open my $fh, "<", $logfile or return undef;
my $log = do { local $/; <$fh> };
close $fh;
my $es = eval { decode("utf-8", $log, Encode::FB_CROAK ) };
$
;
local *PATCHLEVEL;
if ( open PATCHLEVEL, "< $file" ) {
my $patchlevel = do { local $/; <PATCHLEVEL> };
close PATCHLEVEL;
if ( $patchlevel =~ /^#define PATCHLEVEL\s+(
ent';
} elsif ( ref $pfile eq 'GLOB' ) {
*PATCH = *$pfile;
$content = do { local $/; <PATCH> };
$self->{pfinfo} ||= 'file content';
} else {
my $full_name = Fil
Carp::croak( "Cannot open '$full_name': $!" );
};
$content = do { local $/; <PATCH> };
close PATCH;
}
$self->{v} and print "Get patch from $self->{pfinfo}
sif ( ref $srcpath eq 'GLOB' ) {
*POLICY = *$srcpath;
$self->{_policy} = do { local $/; <POLICY> };
$vmsg = "anonymous filehandle";
} else {
$srcpath = File::Spec
);
$vmsg = "default content";
} else {
$self->{_policy} = do { local $/; <POLICY> };
close POLICY;
$vmsg = $p_name;
}
}
$self->