view release on metacpan or search on metacpan
docs/BaseLib-example1 view on Meta::CPAN
SH] is not defined or looks suspicious.
SH]
SH] BEGIN {
SH] for($ENV{PROJLIBDIR}){
SH] croak "PROJLIBDIR is not defined!" unless defined;
SH] ($_)=/(.*)/; # untaint like crazy
SH] use lib $_;
SH] }
Well, that's too much for the script. Besides, you missed
one bracket :-)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bb/Collaborate/Ultra/Util.pm view on Meta::CPAN
$_ = $_ ? 'true' : 'false';
}
elsif ($type =~ m{^(Str|enum)}ix) {
#
# low level check for taintness. Only applicable when
# perl program is running in taint mode
#
die "attempt to freeze tainted data (type $type): $_"
if Scalar::Util::tainted($_);
#
# l-r trim
#
$_ = $1
if m{^ \s* (.*?) \s* $}x;
view all matches for this distribution
view release on metacpan or search on metacpan
t/soap-presentation.t
t/soap-recording.t
t/soap-session-recurring.t
t/soap-session-telephony.t
t/soap-session.t
t/soap-taint-mode.t
view all matches for this distribution
view release on metacpan or search on metacpan
examples/dashboard/lib/Beekeeper/Service/Dashboard/Worker.pm view on Meta::CPAN
sub _save_state {
my ($self) = @_;
my $pool_id = $self->{_WORKER}->{pool_id};
($pool_id) = ($pool_id =~ m/^([\w-]+)$/); # untaint
my $tmp_file = "/tmp/beekeeper-dashboard-$pool_id-stats.dump";
# Avoid stampede when several workers are exiting simultaneously
return if (-e $tmp_file && (stat($tmp_file))[9] == time());
examples/dashboard/lib/Beekeeper/Service/Dashboard/Worker.pm view on Meta::CPAN
sub _load_state {
my ($self) = @_;
my $pool_id = $self->{_WORKER}->{pool_id};
($pool_id) = ($pool_id =~ m/^([\w-]+)$/); # untaint
my $tmp_file = "/tmp/beekeeper-dashboard-$pool_id-stats.dump";
return unless (-e $tmp_file);
local($/);
view all matches for this distribution
view release on metacpan or search on metacpan
share/PerlCritic/Critic/Policy/TestingAndDebugging/ProhibitNoStrict.pm view on Meta::CPAN
#kinda lame, but it does the trick for now.
# TODO consider: a possible alternate implementation:
# my $re = join q{|}, keys %{$self->{allow}};
# return if $re && $stmnt =~ m/\b(?:$re)\b/mx;
# May need to detaint for that to work... Not sure.
my $stmnt = $elem->statement();
return if !$stmnt;
my @words = $stmnt =~ m/ ([[:lower:]]+) /gxms;
@words = grep { $_ ne 'qw' && $_ ne 'no' && $_ ne 'strict' } @words;
view all matches for this distribution