Group
Extension

Matches 1309

File-Catalog ( P/PH/PHIZ/File-Catalog-0.003.tar.gz, PHIZ, 2017; MetaCPAN )
File-Catalog/lib/File/Catalog.pm ( view source; MetaCPAN )
|^$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
Method-Signatures ( B/BA/BAREFOOT/Method-Signatures-20170211.tar.gz, BAREFOOT, 2017; MetaCPAN )
Method-Signatures/lib/Method/Signatures.pm ( view source; MetaCPAN )
  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 {
App-InteractivePerlTutorial ( M/MG/MGV/App-InteractivePerlTutorial-0.000_001.tar.gz, MGV, 2015; MetaCPAN )
App-InteractivePerlTutorial/lib/App/InteractivePerlTutorial/Chapter/Smartmatch/GivenWhen.pm ( view source; MetaCPAN )
-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 
App-short ( P/PE/PERLANCAR/App-short-0.14.tar.gz, PERLANCAR, 2017; MetaCPAN )
App-short/lib/App/short.pm ( view source; MetaCPAN )
= map {$_->{target}} @{$res_s->[2]};

    my @res;
    for (@{ $res_l->[2] }) {
        next if $_ ~~ @mentioned_longs;
        push @res, {
            name => $_,
        };
    }

    my %resmeta;
Perinci-Use ( P/PE/PERLANCAR/Perinci-Use-0.07.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-Use/lib/Perinci/Use.pm ( view source; MetaCPAN )
]} @e;
    }

    # create proxy functions
    for my $e (@e) {
        next if @$inc && !($e->[0] ~~ @$inc);

        # get metadata if not yet retrieved
        unless ($e->[2]) {
            $res =
Software-Release-Watch ( P/PE/PERLANCAR/Software-Release-Watch-0.05.tar.gz, PERLANCAR, 2017; MetaCPAN )
Software-Release-Watch/lib/Software/Release/Watch/Source/WebPage/ArchiveLinks.pm ( view source; MetaCPAN )
>{v}} //= { urls => [] };
        push @{ $releases{$p->{v}}{urls} }, $url
            unless $url ~~ $releases{$p->{v}}{urls};
    }

    \%releases;
    #[map {{ version=>$_, $releases{$_} }}
    # 
Perinci-Access-HTTP-Client ( P/PE/PERLANCAR/Perinci-Access-HTTP-Client-0.24.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-Access-HTTP-Client/lib/Perinci/Access/HTTP/Client.pm ( view source; MetaCPAN )
//;
                        my $level = $1;
                        $level = "error" unless $level ~~ @logging_levels;
                        my $logger_name = "log_$level";
                        n
DBIx-FunctionalAPI ( P/PE/PERLANCAR/DBIx-FunctionalAPI-0.09.tar.gz, PERLANCAR, 2017; MetaCPAN )
DBIx-FunctionalAPI/lib/DBIx/FunctionalAPI.pm ( view source; MetaCPAN )
   for my $t (@$tables) {
                $t =~ s/.+\.//;
                push @nonq, $t unless $t ~~ @nonq;
            }
            push @$tables, @nonq;

            $tables = [uniq @$tables];

  
Bencher-Scenarios-PERLANCAR ( P/PE/PERLANCAR/Bencher-Scenarios-PERLANCAR-0.06.tar.gz, PERLANCAR, 2017; MetaCPAN )
Bencher-Scenarios-PERLANCAR/lib/Bencher/Scenario/PERLANCAR/In.pm ( view source; MetaCPAN )
       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

cppAdaptive1 ( M/MF/MFJONKER/cppAdaptive1-0.01.tar.gz, MFJONKER, 2017; MetaCPAN )
cppAdaptive1/src/dlib/external/libpng/png.h ( view source; MetaCPAN )
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
IOD ( P/PE/PERLANCAR/IOD-0.9.12.tar.gz, PERLANCAR, 2017; MetaCPAN )
IOD/lib/IOD.pod ( view source; MetaCPAN )
 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
cppAdaptive1 ( M/MF/MFJONKER/cppAdaptive1-0.01.tar.gz, MFJONKER, 2017; MetaCPAN )
cppAdaptive1/src/dlib/image_keypoint/surf_abstract.h ( view source; MetaCPAN )
he value of a 2D Gaussian function with mean 0 
              and standard deviation sig at the given (x,y) point.
    !*/

// ---------------------------------------------------------------------
Mustache-Simple ( C/CM/CMS/Mustache-Simple-v1.3.6.tar.gz, CMS, 2017; MetaCPAN )
Mustache-Simple/lib/Mustache/Simple.pm ( view source; MetaCPAN )
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
WebService-IFConfig-Client ( N/NI/NICDOYE/WebService-IFConfig-Client-1.001.tar.gz, NICDOYE, 2017; MetaCPAN )
WebService-IFConfig-Client/lib/WebService/IFConfig/Client.pm ( view source; MetaCPAN )
 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;
       
Win32-GUI ( K/KM/KMX/Win32-GUI-1.14.tar.gz, KMX, 2017; MetaCPAN )
Win32-GUI/build_tools/doHTMLDocs.pl ( view source; MetaCPAN )
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
Win32-GUI ( K/KM/KMX/Win32-GUI-1.14.tar.gz, KMX, 2017; MetaCPAN )
Win32-GUI/build_tools/doReadme.pl ( view source; MetaCPAN )
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);
Gtk2-Ex-DbLinker-DbTools ( R/RA/RAPPAZF/Gtk2-Ex-DbLinker-DbTools-0.112.tar.gz, RAPPAZF, 2017; MetaCPAN )
Gtk2-Ex-DbLinker-DbTools/lib/Gtk2/Ex/DbLinker/DbcDataManager.pm ( view source; MetaCPAN )

    my ( $self, $id, $value ) = @_;
    my $pos = $self->{row}->{pos};
    my $row;

    #if ($id ~~ @{$self->{rocols}}){
    $self->{log}
      ->debug( "set_field: rocols: " . join( " ", @{ $self->
Gtk2-Ex-DbLinker-DbTools ( R/RA/RAPPAZF/Gtk2-Ex-DbLinker-DbTools-0.112.tar.gz, RAPPAZF, 2017; MetaCPAN )
Gtk2-Ex-DbLinker-DbTools/lib/Gtk2/Ex/DbLinker/DatasheetHelper.pm ( view source; MetaCPAN )
to_save) {

                #my $name = $field->{name};

                # if ( $field->{name} ~~ @{$self->{cols}})
                if ( defined $self->{hcols}->{$name} ) {

                   
CracTools ( J/JA/JAUDOUX/CracTools-1.251.tar.gz, JAUDOUX, 2017; MetaCPAN )
CracTools/lib/CracTools/App/Command/GtfToGff.pm ( view source; MetaCPAN )
 => "feature",
                               };
      } elsif(!(@{$features{$id}{transcript_ids}} ~~ $trans_id)) {
        push(@{$features{$id}{transcript_ids}},$trans_id);
      }

      if(!define
Gtk2-Ex-DbLinker-DbTools ( R/RA/RAPPAZF/Gtk2-Ex-DbLinker-DbTools-0.112.tar.gz, RAPPAZF, 2017; MetaCPAN )
Gtk2-Ex-DbLinker-DbTools/lib/Gtk2/Ex/DbLinker/RdbDataManager.pm ( view source; MetaCPAN )
elf->{fieldsRel}->{$id};
    $rel = ( $rel ? $rel : "" );
    my $key = $rel . $id;

    #if ($key ~~ @{$self->{rocols}}){
    if ( grep( /^$key$/, @{ $self->{rocols} } ) ) {
        $self->{log}->deb

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.