Next refresh should show more results. ( run in 1.739 )
view release on metacpan or search on metacpan
$rv;
}
sub usage
{
my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
my %M = ( 'I' => '*' );
$usage =~ s/^\s*perl\s+\S+/$^X $0/;
$usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
print <<ENDUSAGE;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$sqlite_base =~ /=(.*)/;
$sqlite_base = $1;
$sqlite_lib = File::Spec->catdir( $sqlite_base, 'lib' );
$sqlite_inc = File::Spec->catdir( $sqlite_base, 'include' );
}
if ( $sqlite_local = (grep(/USE_LOCAL_SQLITE=.*/, @ARGV))[0] ) {
$sqlite_local =~ /=(.*)/;
$sqlite_local = "$1" ? 1 : 0;
if ( $sqlite_local ) {
# Keep these from making into CFLAGS/LDFLAGS
undef $sqlite_lib;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# perlcriticrc uses Config::Tiny, which does not support nesting
if (-f ".perlcriticrc" && -s "$ENV{HOME}/.perlcriticrc") {
open my $fh, ">", ".perlcriticrc";
print $fh do {
local (@ARGV, $/) = ("$ENV{HOME}/.perlcriticrc"); <> };
print $fh join "\n" => "",
"[-Documentation::RequireLinkedURLs]", # L<DBI|http://...] requires 5.12
"[-Modules::ProhibitMultiplePackages]",
"[-Modules::RequireExplicitPackage]", # use 5.008000
"[-RegularExpressions::ProhibitFixedStringMatches]", # deliberate
view all matches for this distribution
view release on metacpan or search on metacpan
README.ingres view on Meta::CPAN
ListTables stuff. Therefore the "advanced" tests will fail.
Expect the test output to look like:
% make test
PERL_DL_NONLAZY=1 /usr/local/perl-5.004_02/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl-5.004_02/lib/sun4-solaris/5.00402 -I/usr/local/perl-5.004_02/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base............ok
t/10dsnlist.........skipping test on this platform
t/20createdrop......ok
t/30insertfetch.....ok
t/40bindparam.......skipping test on this platform
view all matches for this distribution
view release on metacpan or search on metacpan
}
sub _dmp {
my $code = shift;
my ( $ds, $stderr_string );
local @ARGV; # prevents Perl::Tidy craziness
my $error = Perl::Tidy::perltidy(
source => \$code,
destination => \$ds,
stderr => \$stderr_string
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBI/Shell.pm view on Meta::CPAN
unless $sh->{batch};
}
}
}
local ($|) = 1;
# plug-ins should remove options they recognise from (localized) @ARGV
# by calling Getopt::Long::GetOptions (which is already in pass_through mode).
foreach my $pi (@pi) {
local *ARGV = $sh->{unhandled_options};
$pi->init($sh);
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/09-Changeset-App.t view on Meta::CPAN
is($cmd->{'config'}->{'test2'}, 'testing', 'Got correct test2 value from test2.yml during reverse array test');
is($cmd->{'config'}->{'test3'}, 1, 'Got correct test3 value from test1.yml during array reverse test');
{
local @ARGV = qw(commands);
my ($output) = Test::Output::output_from(sub { $cmd->run });
for my $name (qw(create update compare applied bootstrap commands help)) {
like($output, qr/^\s+\Q$name\E/sm, "$name command in listing");
}
}
### test create options
{
local @ARGV = qw(help create);
my ($output) = Test::Output::output_from(sub { $cmd->run });
### do we have the default options
for my $name (qw(help prompt)) {
view all matches for this distribution
view release on metacpan or search on metacpan
t_dbic/lib/DBICTest.pm view on Meta::CPAN
if ($ENV{"DBICTEST_SQLT_DEPLOY"}) {
$schema->deploy($args);
} else {
my $filename = Path::Class::File->new(__FILE__)->dir
->file('sqlite.sql')->stringify;
my $sql = do { local (@ARGV, $/) = $filename ; <> };
for my $chunk ( split (/;\s*\n+/, $sql) ) {
if ( $chunk =~ / ^ (?! --\s* ) \S /xm ) { # there is some real sql in the chunk - a non-space at the start of the string which is not a comment
$schema->storage->dbh_do(sub { $_[1]->do($chunk) }) or print "Error on SQL: $chunk\n";
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
maint/travis-ci_scripts/lib/TAP/Harness/IgnoreNonessentialDzilAutogeneratedTests.pm view on Meta::CPAN
my $fn = File::Spec::Unix->catpath( File::Spec->splitpath( $_ ) );
if (my $REs = $frivolous_test_map->{
(first { $fn =~ $_ } keys %$frivolous_test_map ) || ''
}) {
my $slurptest = do { local (@ARGV, $/) = $fn; <> };
$slurptest =~ $_ and push @$skip_tests, $fn and next TESTFILE for @$REs;
}
push @$run_tests, $fn;
}
view all matches for this distribution
view release on metacpan or search on metacpan
examples/Benchmarks/benchmark_hashrefinflator.pl view on Meta::CPAN
and
$^O eq 'linux'
and
-r '/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq'
) {
my ($min_freq, $max_freq, $governor) = map { local @ARGV = $_; my $s = <>; chomp $s; $s } qw|
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|;
view all matches for this distribution
view release on metacpan or search on metacpan
print " --- hint for $func ---\n", $hint;
}
sub usage
{
my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
my %M = ( 'I' => '*' );
$usage =~ s/^\s*perl\s+\S+/$^X $0/;
$usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
print <<ENDUSAGE;
view all matches for this distribution
view release on metacpan or search on metacpan
$rv;
}
sub usage
{
my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
my %M = ( 'I' => '*' );
$usage =~ s/^\s*perl\s+\S+/$^X $0/;
$usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
print <<ENDUSAGE;
view all matches for this distribution
view release on metacpan or search on metacpan
$rv;
}
sub usage
{
my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
my %M = ( 'I' => '*' );
$usage =~ s/^\s*perl\s+\S+/$^X $0/;
$usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
print <<ENDUSAGE;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Conveyor/Service/Interface/Shell.pm view on Meta::CPAN
# Don't call this run_service_method, or Term::Shell will think it's a
# command.
sub execute_service_method {
my $self = shift;
my $method = shift;
local @ARGV = @_;
my %opt;
GetOptions(\%opt, $self->getopt_spec_for_method($method))
or return $self->run_help($method);
if (@ARGV) {
print "extraneous arguments [@ARGV]\n\n";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Dump/ppport.h view on Meta::CPAN
$rv;
}
sub usage
{
my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
my %M = ( 'I' => '*' );
$usage =~ s/^\s*perl\s+\S+/$^X $0/;
$usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
print <<ENDUSAGE;
view all matches for this distribution