Group
Extension

Matches 1357

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});
        }
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
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 ("
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
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
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{,}
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} ); }
            
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Library/Core/DateTime.pm ( view source; MetaCPAN )
  my( $engine, $options, $string ) = @_;

  my %parse_options;

  if($options->{language}) {
    given(blessed $options->{language}) {
      when('Dallycot::Value::Vector') {
        $parse_options{la
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Library/Core/Strings.pm ( view source; MetaCPAN )
_range( $engine, 1, $length );
    }
    elsif ( $spec->isa('Dallycot::Value::Vector') ) {
      given ( scalar(@$spec) ) {
        when (1) {
          if ( $spec->[0]->isa('Dallycot::Value::Numeric'
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Value/Duration.pm ( view source; MetaCPAN )
 and numeric values may be added to durations';
  }

  my @durations = map {
    my $v = $_;
    given(blessed $v) {
      when('Dallycot::Value::Numeric') {
        DateTime::Duration->new(
         
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/JSON/LD.pm ( view source; MetaCPAN )
active_context, $active_property) = @_;

  if(!defined($element)) {
    return;
  }
  else {
    given(reftype $element) {
      when(undef) {
        if(!defined($active_property) || $active_property
 $result->{$xp}) {
            croak "colliding keywords ($xp) for $key";
          }

          given($xp) {
            when('@id') {
              if(!defined($value) || ref $value) {
             
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Value/Stream.pm ( view source; MetaCPAN )
 $self->[$TAIL_PROMISE]->apply( $engine, {} )->then(
    sub {
      my ($list_tail) = @_;
      given ( ref $list_tail ) {
        when (__PACKAGE__) {
          $self->[$TAIL]         = $list_tail;
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Value/DateTime.pm ( view source; MetaCPAN )
umeric values may be added to dates and times';
  }

  my @durations = map {
    my $v = $_;
    given(blessed $v) {
      when('Dallycot::Value::Numeric') {
        DateTime::Duration->new(
         
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Library/LOC.pm ( view source; MetaCPAN )
> 1,
  arity => [0],
  options => {},
), sub {
  my ( $engine, $options, @expressions ) = @_;

  given ( scalar(@expressions) ) {
    when (0) {
      return Dallycot::Value::EmptyStream->new;
    }
 

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