Group
Extension

Matches 1364

Array-CompareAndFilter ( D/DA/DADERUS/Array-CompareAndFilter-v1.100.tar.gz, DADERUS, 2014; MetaCPAN )
Array-CompareAndFilter/lib/Array/CompareAndFilter.pm ( view source; MetaCPAN )
    Test scripts modifed, external modules eleminated.
#       compareOrder() modified, it's using ~~ smart-match operator.
#       Documentation updated.
# 2012-06-25 v1.0.0   H. Klausing
#       Ini
 avoid Argument "?undef?" isn't numeric in smart match

        if (not($item ~~ @exclude)) {
            if (not $item ~~ @resultList) {
                push(@resultList, ($item ne UNDEF) ? $item : u
   my $item = $arr_ref->[$i] // UNDEF;
                no warnings;

                if (not($item ~~ @outList)) {
                    unshift(@outList, $item);
                }
                use w
Switch-Reftype ( P/PR/PRAMAKERS/Switch-Reftype-0.001.tar.gz, PRAMAKERS, 2015; MetaCPAN )
Switch-Reftype/lib/Switch/Reftype.pm ( view source; MetaCPAN )
l's
C<reftype $reference> to determine which key to look for.

If no suitable key/value pair was given (e.g. C<$reference> is an C<ARRAY>
reference but no C<< ARRAY => sub {...} >> pair exists), C<swi
Acme-Schlong ( D/DB/DBR/Acme-Schlong-0.001.tar.gz, DBR, 2013; MetaCPAN )
Acme-Schlong/lib/Acme/Schlong.pm ( view source; MetaCPAN )
O "Your system is Windows. I won't even bother calculating your schlong-size, sorry!" unless! ($^O ~~ /Win/ ... /Win/) # Just for fun (again)
    }

    sub true  { 1 }
    sub false { 0 }

    # The 
 0 }
    method _build_using_tmux             { $ENV{TERM} ~~ 'tmux'       ? 1 : 0 }
    method _build_using_screen           { $ENV{TERM} ~~ 'screen'     ? 1 : 0 }
    method _build_perl_version     
           { $self->shell ~~ 'bash' || 0 }
    method _build_using_zsh              { $self->shell ~~ 'zsh'  || 0 }
    method _build_using_ksh              { $self->shell ~~ 'ksh'  || 0 }
    method 
Net-DirectConnect ( P/PR/PRO/Net-DirectConnect-0.14.tar.gz, PRO, 2014; MetaCPAN )
Net-DirectConnect/lib/Net/DirectConnect/filelist.pm ( view source; MetaCPAN )
y scaned', $indb->{size}),
            $filelist_line->( { %$f, %$indb } ), next, if $indb->{size} ~~ $f->{size};
            #$db->select('filelist', {path=>$f->{path},file=>$f->{file}, });
         
$curdir) = m{^Directory Name="([^"]+)">}i ) {    #"mcedit
        $dir .= ( ( !length $dir and $^O ~~ [ 'MSWin32', 'cygwin' ] ) ? () : '/' ) . $curdir;
        #$self->log 'now in', $dir;
        #$se
bz2',
    );
    psmisc::unlock('sharescan');
    #$_[0]->( $sharesize, $sharefiles ) if ref $_[0] ~~ 'CODE';
    #( $self->{share_size} , $self->{share_files} ) = ( $sharesize, $sharefiles );
    $sh
HTML-Format ( N/NI/NIGELM/HTML-Format-2.12.tar.gz, NIGELM, 2015; MetaCPAN )
HTML-Format/lib/HTML/FormatPS.pm ( view source; MetaCPAN )
ntscale};
}

# Determine the current font and set font-related members.
# If $plain_with_size is given (a number), use a plain font
# of that size.  Otherwise, use the font specified by the
# HTML con
HTML-Format ( N/NI/NIGELM/HTML-Format-2.12.tar.gz, NIGELM, 2015; MetaCPAN )
HTML-Format/lib/HTML/Formatter.pm ( view source; MetaCPAN )
consisting of the result of using the given class to format the
given HTML file according to the given (optional) options. Internally it calls
C<< SomeClass->new( ... )->format( ... ) >> on a new HTML
nsisting of the result of using the given class to format the
given HTML source according to the given (optional) options. Internally it
calls C<< SomeClass->new( ... )->format( ... ) >> on a new HTML
Ruby-VersionManager ( M/MK/MKRULL/Ruby-VersionManager-0.004004.tar.gz, MKRULL, 2014; MetaCPAN )
Ruby-VersionManager/lib/Ruby/VersionManager.pm ( view source; MetaCPAN )
= $ua->request($req);

		if ( $res->is_success ) {
			$rubies->{$version} = [];
			for ( grep { $_ ~~ /ruby.*\.tar\.bz2/ } split '\n', $res->content ) {
				my $at = $self->archive_type;
				( my $rub
nstalled;

		my $installed = $self->installed_rubies->{$major_version};

		if ($self->ruby_version ~~ @$installed){
			$self->gemset($gemset);
			$self->_setup_environment;

			$self->_sub_shell;
		}
nstalled;

		my $installed = $self->installed_rubies->{$major_version};

		if ($self->ruby_version ~~ @$installed){
			my $dir = File::Spec->catdir($self->rootdir, 'gemsets', $self->major_version, $se
FAST ( D/DH/DHARD/FAST-1.06.tar.gz, DHARD, 2015; MetaCPAN )
FAST/lib/FAST/List/Gen/Cookbook.pm ( view source; MetaCPAN )
hem directly.

    gen {$_**2} 100             ~~  gen {$_**2} range 0, 100

    my @names = qw/bob alice eve/;
    gen {"hello $_!"} \@names   ~~  gen {"hello $_!"} makegen @names

those were 
Perl-ToPerl6 ( J/JG/JGOFF/Perl-ToPerl6-0.040.tar.gz, JGOFF, 2015; MetaCPAN )
Perl-ToPerl6/lib/Perl/ToPerl6/Transformer/Operators/FormatOperators.pm ( view source; MetaCPAN )
, 'le', 'ge' are unchanged.

    # '<=>' behaves similarly.
    # 'cmp' is now named 'leg'.
    # '~~' is unchanged, but the semantics are wildly different.
    'cmp' => 'leg',

    # '&', '|', '^' ar
 => '+>', '>>=' => '+>=',

    '.'  => '~', '.=' => '~=',

    '->' => '.',

    '=~' => '~~',
    '!~' => '!~~',

    # And finally, the lone ternary operator:
    #
    '?' => '??',
    ':' => '!!',
  # right    \
    # right    +
    # right    -
    # left     *
    # left     %

    # nonassoc ~~
    # left     &
    # right    *= etc. goto last next redo dump

    # nonassoc list operators (r
Perinci-Import ( P/PE/PERLANCAR/Perinci-Import-0.03.tar.gz, PERLANCAR, 2015; MetaCPAN )
Perinci-Import/lib/Perinci/Import.pm ( view source; MetaCPAN )
 from imported module
        if ($imp->{-sym} =~ s/^://) {
            @syms = grep {$imp->{-sym} ~~ $exports{$_}{tags}} keys %exports;
        } else {
            @syms = ($imp->{-sym});
        }
Acme-EyeDrops ( A/AS/ASAVIGE/Acme-EyeDrops-1.62.tar.gz, ASAVIGE, 2015; MetaCPAN )
Acme-EyeDrops/lib/Acme/EyeDrops.pm ( view source; MetaCPAN )
$~=pop||'';open$%;
    y,!-~,#,,s,(.).,$+,gs,$~&&($_=reverse)for@~=grep$|--,('')x18,<0>;
    @;=map~~reverse,reverse@~;
    map{system$^O=~Win?CLS:'clear';
    ($-=$_%3)||(--$|,map$_=reverse,@~,@;);
 
)).(':'&'=').',<'.     
     ('^'^('`'|'.')  ).'>;\\@;='.('`'|'-').('`'|'!').('['^'+')     
     .'~~'.('['^')'  ).('`'|'%').('['^'-').('`'|'%').('['^')').    
     ('['^'(').('`'|'%').','.('['^')').(
Sierpinski triangle generator is:

    #!/usr/bin/perl -l
    s--@{[(gE^Ge)=~/[^g^e]/g]}[g^e]x((!!+~~g^e^g^e)<<pop).!gE-ge,
    s-[^ge^ge]-s,,,,s,@{[(g^';').(e^'?')]},(G^'/').(E^'|')^Ge,ge,
    print,
Dancer-Plugin-JSON-Schema ( P/PE/PERRETTDL/Dancer-Plugin-JSON-Schema-0.001.tar.gz, PERRETTDL, 2015; MetaCPAN )
Dancer-Plugin-JSON-Schema/lib/Dancer/Plugin/JSON/Schema.pm ( view source; MetaCPAN )
ile
    my $appdir = config->{appdir} // __FILE__ =~ s~(?:/blib)?/lib/Dancer/Plugin/JSON/Schema\.pm~~r;
    my $fn     = $appdir . '/' . $schema_info->{schema};
    open ( my $fh, '<', $fn ) or die ("
Image-PNG-Simple ( K/KI/KIMOTO/Image-PNG-Simple-0.07.tar.gz, KIMOTO, 2015; MetaCPAN )
Image-PNG-Simple/zlib-1.2.8/contrib/iostream2/zstream.h ( view source; MetaCPAN )
       gzFile fp() { return m_fp; }

    private:
        gzFile m_fp;
};

/*
 * Binary read the given (array of) object(s) from the compressed file.
 * If the input file was not in gzip format, read(
       }

    private:
        gzFile m_fp;
        ostrstream* m_os;
};

/*
 * Binary write the given (array of) object(s) into the compressed file.
 * returns the number of uncompressed bytes actual
Image-PNG-Simple ( K/KI/KIMOTO/Image-PNG-Simple-0.07.tar.gz, KIMOTO, 2015; MetaCPAN )
Image-PNG-Simple/libpng-1.6.17/png.h ( view source; MetaCPAN )
nst 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
 * data
Monitoring-Livestatus-Class-Lite ( N/NI/NIERLEIN/Monitoring-Livestatus-Class-Lite-0.07.tar.gz, NIERLEIN, 2015; MetaCPAN )
Monitoring-Livestatus-Class-Lite/lib/Monitoring/Livestatus/Class/Lite.pm ( view source; MetaCPAN )
atch regular expression (substring match)
            # =~    equality ignoring case
            # ~~    regular expression ignoring case
            # <     less than
            # >     greater than
Mac-iPhoto-Exif ( M/MA/MAROS/Mac-iPhoto-Exif-1.01.tar.gz, MAROS, 2014; MetaCPAN )
Mac-iPhoto-Exif/lib/Mac/iPhoto/Exif.pm ( view source; MetaCPAN )
= {};
    my $count = 0;
    foreach my $top_node ($doc->findnodes('/plist/dict/key')) {
        given ($top_node->textContent) {
            when ('List of Faces') {
                my $personlist_no
ODES:
                foreach my $image_node ($imagelist_node->childNodes) {
                    given ($image_node->nodeName) {
                        when ('key') {
                            $key
;
                                        
                                        unless ($person ~~ \@persons_list_final) {
                                            push(@persons_list_final,$pers
App-EventStreamr ( T/TE/TECHMAN/App-EventStreamr-0.5.tar.gz, TECHMAN, 2015; MetaCPAN )
App-EventStreamr/bin/station-mgr.pl ( view source; MetaCPAN )
api();
  devmon();

  # Process the roles
  foreach my $role (@{$self->{config}->{roles}}) {
    given ( $role ) {
      when ("mixer")    { mixer();  }
      when ("ingest")   { ingest(); }
      whe
ion and save it for future use
  unless ($self->{device_commands}{$device->{id}}{command}) {
    given ($device->{role}) {
      when ("ingest")   { 
        $self->{device_commands}{$device->{id}}{co
Simple-Factory ( P/PA/PACMAN/Simple-Factory-0.09.tar.gz, PACMAN, 2015; MetaCPAN )
Simple-Factory/lib/Simple/Factory.pm ( view source; MetaCPAN )
b {
        my ($on_error) = @_;

        return $on_error if ref($on_error) eq 'CODE';

        given ($on_error) {
            when ("croak") {
                return sub {
                    my $k
  my $method = $self->_coerce_build_method;

    if ( $self->autoderef && ref($args) ) {
        given ( ref($args) ) {
            when ('ARRAY')  { return $class->$method( @{$args} ); }
            
Mojolicious-Plugin-Crypto ( N/NE/NEMUX/Mojolicious-Plugin-Crypto-0.14.tar.gz, NEMUX, 2015; MetaCPAN )
Mojolicious-Plugin-Crypto/lib/Mojolicious/Plugin/Crypto.pm ( view source; MetaCPAN )
next;
            }

            map { $app->helper( $_ => \&{$_} ) } map {
                    $_ ~~ /^sha|md5|md4|md2|ripemd|tiger|whirlpool.*/
                  ? $_
                  : ()
        
} and next;
            }

            map { $app->helper( $_ => \&{$_} ) }
              map { $_ ~~ /^hmac.*/ ? $_ : () } _lm($module);

        }
    }

}

sub _crypt_x {
    my ( $self, $algo, $co
Music-Abc-DT ( B/BM/BMA/Music-Abc-DT-0.01.tar.gz, BMA, 2013; MetaCPAN )
Music-Abc-DT/lib/Music/Abc/DT.pm ( view source; MetaCPAN )
out of grace note state
    $brhythm  = $gbr;
    $new_abc .= '}';    # close grace notes
  }

  given ($sym->{type}) { # symbol type
    when (ABC_T_INFO               )  { ($new_abc, $nl_new) = _inf
new_abc;
}


# -- change length when broken rhythm --
sub _broken_rhythm {
  my $len = shift;

  given ($brhythm) {
    when (-3) { $len *= 8; }
    when (-2) { $len *= 4; }
    when (-1) { $len *= 2;
  if ($all_tie) {
    if ( $all_tie & SL_DOTTED ) { $new_abc .= q{.} }
    $new_abc .= q{-};
    given ($all_tie) {
      when (SL_ABOVE) { $new_abc .= q{'}; }
      when (SL_BELOW) { $new_abc .= q{,}

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