|^$rep_tmp/||;
my $rep = dirname $repfic;
my $fic = basename $repfic;
return 0 if $fic ~~ @exclusions_fic;
my $archive = ($fic =~ /\.(gz|tar|tgz|zip|bz2|tbz2|7z)$/);
my @stat
ntree, $md5);
}
}
}
# fin si repertoire exclu
return $err if $fic ~~ @exclusions_rep;
# repertoire
$err = $self->parcourir_repertoire($entree, $volume) if S_I
else {
$rhs = "!$check_exists ? ($default) : do{ no warnings; my \$arg = $rhs; \$arg ~~ ($when) ? ($default) : \$arg }";
}
}
# Handle simple defaults
elsif( defined $
ode, "$error unless do { no if \$] >= 5.017011, warnings => 'experimental::smartmatch'; grep { \$_ ~~ $constraint_impl } $var }; ";
}
if( $sig->is_placeholder ) {
unshift @code, 'do {
-else Structure
the next 2 program sequences will do the same thing: will read the input and
given( <STDIN> ) {
when ( 'virus' ) { say 'the whole file is virus' }
when ( /\Avirs/ ) { say 'the
will be $_ ~~ (...)
my $_ = <STDIN>;
if ( $_ ~~ 'Fred' ) { say 'the whole file is virus' }
elsif ( $_ ~~ /\Avirus/ ) { say 'the file name starts with a virus' }
elsif ( $_ ~~ /virus/ )
se { say "this file is clean" }
On the other hand, if we write this way
given( <STDIN> ) {
when ( /virus/ ) { say 'the file is corrupt'; continue }
when ( 'virus' ) { say
= map {$_->{target}} @{$res_s->[2]};
my @res;
for (@{ $res_l->[2] }) {
next if $_ ~~ @mentioned_longs;
push @res, {
name => $_,
};
}
my %resmeta;
]} @e;
}
# create proxy functions
for my $e (@e) {
next if @$inc && !($e->[0] ~~ @$inc);
# get metadata if not yet retrieved
unless ($e->[2]) {
$res =
>{v}} //= { urls => [] };
push @{ $releases{$p->{v}}{urls} }, $url
unless $url ~~ $releases{$p->{v}}{urls};
}
\%releases;
#[map {{ version=>$_, $releases{$_} }}
#
//;
my $level = $1;
$level = "error" unless $level ~~ @logging_levels;
my $logger_name = "log_$level";
n
for my $t (@$tables) {
$t =~ s/.+\.//;
push @nonq, $t unless $t ~~ @nonq;
}
push @$tables, @nonq;
$tables = [uniq @$tables];
name => 'smartmatch',
code_template => 'use experimental "smartmatch"; <needle> ~~ @main::<haystack:raw>',
},
],
datasets => [
{name => '100 items' , args =>
:raw>)
=item * smartmatch (perl_code)
Code template:
use experimental "smartmatch"; <needle> ~~ @main::<haystack:raw>
=back
=head1 BENCHMARK DATASETS
=over
=item * 100 items
=item * 10k
t void *buffer, png_int_32 row_stride,
const void *colormap));
/* Write the image to the given (FILE*). */
/* With both write APIs if image is in one of the linear formats with 16-bit
* d
begins with C<foo>), an empty array should
be returned. When an unknown user or unknown path is given (e.g. C<!paths
/var/zzz/*> when there is no directory named C</var/zzz/>) or there is an error
du
he value of a 2D Gaussian function with mean 0
and standard deviation sig at the given (x,y) point.
!*/
// ---------------------------------------------------------------------
urrent tag
$result .= $tag->{pre}; # add in the intervening text
given ($tag->{type})
{
when('!') { # it's a comment
} elsif (scalar @ret == 1) {
$txt = $ret[0];
} else {
$txt = \@ret;
}
}
given (reftype $txt)
{
when ('ARRAY') { # an array of hashes (ho
# get the entry from the context
}
my $ans = '';
given (reftype $txt)
{
when ('ARRAY') {
$an
if no request has been made.
=cut
sub get_status {
my $self = shift;
my $answer;
given ( $self->get_raw_status ) {
$answer = undef when 0;
$answer = 1 when 200;
estbinsubdir);
# remove pod2html cache files; 5.6 uses ".x~~" and 5.8 uses ".tmp" extensions
unlink("pod2htmd.$_", "pod2htmi.$_") for qw(x~~ tmp);
# copy all GIF files from docs directy to html tree
e=$tmp",
"--outfile=$htm",
);
# remove pod2html cache files; 5.6 uses ".x~~" and 5.8 uses ".tmp" extensions
unlink("pod2htmd.$_", "pod2htmi.$_") for qw(x~~ tmp);
BuildTools::rm_f($tmp);
exit(0);
my ( $self, $id, $value ) = @_;
my $pos = $self->{row}->{pos};
my $row;
#if ($id ~~ @{$self->{rocols}}){
$self->{log}
->debug( "set_field: rocols: " . join( " ", @{ $self->
to_save) {
#my $name = $field->{name};
# if ( $field->{name} ~~ @{$self->{cols}})
if ( defined $self->{hcols}->{$name} ) {
=> "feature",
};
} elsif(!(@{$features{$id}{transcript_ids}} ~~ $trans_id)) {
push(@{$features{$id}{transcript_ids}},$trans_id);
}
if(!define
elf->{fieldsRel}->{$id};
$rel = ( $rel ? $rel : "" );
my $key = $rel . $id;
#if ($key ~~ @{$self->{rocols}}){
if ( grep( /^$key$/, @{ $self->{rocols} } ) ) {
$self->{log}->deb