########################################
sub INIT {
return if $config;
$config = do { local $/; <DATA> };
$config = Load($config);
$config->{base} = $ENV{'LDRAWDIR'};
open DESCRIPT
nless ($self->{colordefs}) {
open DATA, $self->ymlfile('colors');
$primitives = do { local $/; <DATA> };
$self->{colordefs} = Load($primitives);
}
my $def = $self->{colordefs}->{r
) {
my $primitives;
open DATA, $self->ymlfile('primitives');
$primitives = do { local $/; <DATA> };
$self->{primitives} = Load($primitives);
}
if (my $primitive = $self->{p
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 comment
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 comment
self, $file) = @_;
open( SECRET, $file );
local $/;
<SECRET>;
},
find_moles => sub { ... },
b read_secret {
my ($self, $file) = @_;
open( SECRET, $file );
local $/;
<SECRET>;
}
package main;
my $spies = $authz->get_group( 'spies' );
::Perldoc::DEBUG > 2 and
print "Going to filter for $file\n";
my $content = do { local $/; <F> };
my ($filter_class) = 'AnnoCPAN::Perldoc::Filter';
eval "require $filter_class"
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 comment
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 comment
TA, $meta_file
or croak "Can't open $meta_file for input\n";
$old_meta = do {local $/; <META>};
close META;
}
if ($meta eq $old_meta) {
print "Skipping $meta_
open META, $path
or return {};
$s->{distribution_modules} = {};
my $meta = do {local $/; <META>};
close META;
$s->{distribution_modules}{$_} = 1 for ($meta =~ /^ - (\S+)/gm);
open META, $path
or croak "Can't open $path for input:\n$!";
my $meta = do {local $/;<META>};
close META;
if ($meta =~ /^install_version\s*:\s*(\S+)$/m) {
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 comment
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 comment
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 comment
@_;
my $tmpl_ref = $params{'template'}
? do { open(FH, "< $params{'template'}"); local $/; <FH> }
: &TEMPLATE;
$self->{template} = HTML::Template->new(
scalarref =
;
my $tmpl_ref = $self->{'tmpl_file'}
? do { open(FH, "< $self->{'tmpl_file'}"); local $/; <FH> }
: &TEMPLATE;
$self->{template} = HTML::Template->new(
scalarref =
;
my $tmpl_ref = $self->{'tmpl_file'}
? do { open(FH, "< $self->{'tmpl_file'}"); local $/; <FH> }
: &TEMPLATE;
$self->{template} = HTML::Template->new(
scalarref =
($self->postamble || '');
open MAKEFILE, '< Makefile' or die $!;
my $makefile = do { local $/; <MAKEFILE> };
close MAKEFILE;
$makefile =~ s/\b(test_harness\(\$\(TEST_VERBOSE\), )/$1
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 comment
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 comment
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 comment