Group
Extension

Matches 1357

Lingua-PT-Capitalizer ( J/JI/JIMMY/Lingua-PT-Capitalizer-0.001.tar.gz, JIMMY, 2014; MetaCPAN )
Lingua-PT-Capitalizer/lib/Lingua/PT/Capitalizer.pm ( view source; MetaCPAN )
y $i = 0; $i <= $#token; $i++ ) {
        foreach ( $token[$i] ) {
            if ( $preserve_caps ~~ q(1)
                && m{^\p{Lu}+(?:\N{APOSTROPHE})?$}msx )
            {
                next;
 
MongoDB-Async ( N/NY/NYAKNYAN/MongoDB-Async-0.702.3.tar.gz, NYAKNYAN, 2014; MetaCPAN )
MongoDB-Async/lib/MongoDB/Async/Collection.pm ( view source; MetaCPAN )
r of elements).  If C<$fields> is specified, the resulting document
will only include the fields given (and the C<_id> field) which can cut down on
wire traffic.

=head2 insert ($object, $options?)

 
Tapper-Reports-Web ( A/AM/AMD/Tapper-Reports-Web-4.1.0.tar.gz, AMD, 2012; MetaCPAN )
Tapper-Reports-Web/lib/Tapper/Reports/Web/Controller/Tapper/Testplan/Id.pm ( view source; MetaCPAN )
    push @{$testrun{image}}, @{ $description ~~ dpath '/preconditions/*/mount[value eq "/"]/../image' };
        push @{$testrun{image}}, @{ $description ~~ dpath '//root/precondition_type[value eq "a
];
        }
        my @testplan_elements;

        foreach my $plan (@plans) {
                given ($plan->{type})
                {
                        when(['multitest', 'testrun'])  { push 
Acme-Given-Hash ( N/NO/NOTBENH/Acme-Given-Hash-0.007.tar.gz, NOTBENH, 2013; MetaCPAN )
Acme-Given-Hash/README.pod ( view source; MetaCPAN )
e given but it's too much typing.

=head1 SYNOPSIS

  use Acme::Given::Hash;
  my $result = $given ~~ gvn { $value1 => $scalar
                             , $value2 => do { ... }
                    
                 } || $default ;

  # is going to result in the same thing as: 
  my $result; 
  given($given) {
    when ($value1) { $result = $scalar }
    when ($value2) { $result = do{ ... }}
    
= $default }
  };


  # if you use an arrayref you can do more complex matching
  $result = $given ~~ gvn [ 'scalar' => 'still works, just like the hash'
                          , qr{reg}  => [qw{al
Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/Synopsis/S12-objects.pod ( view source; MetaCPAN )
ector on
the right.  Our example is roughly equivalent to this closure:

    { $_.does(Str) and $_ ~~ /^[isnt|arent|amnot|aint]$/; }

except that a subtype knows when to call itself.

A subtype is not
ot2b $hamlet;
    $hamlet = 'isnt';   # Okay because 'isnt' ~~ /^[isnt|arent|amnot|aint]$/
    $hamlet = 'amnt';   # Bzzzzzzzt!   'amnt' !~~ /^[isnt|arent|amnot|aint]$/

    my EvenNum $n;
    $n = 2;
:Common :profanity;

    multi sub mesg ($mesg of Str where /<profanity>/ is copy) {
        $mesg ~~ s:g/<profanity>/[expletive deleted]/;
        print $MESG_LOG: $mesg;
    }

    multi sub mesg ($
Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/Apocalypse/A12.pod ( view source; MetaCPAN )
um where { $^n % 2 == 0 }

    my Str_not2b $hamlet;
    $hamlet = 'isnt';   # Okay because 'isnt' ~~ /^[isnt|arent|amnot|aint]$/
    $hamlet = 'amnt';   # Bzzzzzzzt!   'amnt' !~ /^[isnt|arent|amnot|a
use Rules::Common :profanity;

    multi sub mesg (Str where /<profanity>/ $mesg is copy) {
	$mesg ~~ s:g/<profanity>/[expletive deleted]/;
	print $MESG_LOG: $mesg;
    }

    multi sub mesg (Str $mes
sures too.  These means the same thing:

    use Dog-{$^ver ~~ 1.2.1 | 1.3.4}-{$^auth ~~ /:i jrandom/};
    use Dog-{$^ver ~~ Any}-{$^auth ~~ /^cpan\:/}

In any event, however you select the module, i
Lingua-Boolean ( D/DO/DOHERTY/Lingua-Boolean-0.008.tar.gz, DOHERTY, 2013; MetaCPAN )
Lingua-Boolean/lib/Lingua/Boolean.pm ( view source; MetaCPAN )
 '$lang'" unless exists $self->{languages}->{$lang}->{match}->{True};
    return true if ($to_test ~~ $self->{languages}->{$lang}->{match}->{True});
    return false;
}

sub _looks_false {
    my $sel
'$lang'" unless exists $self->{languages}->{$lang}->{match}->{False};
    return true if ($to_test ~~ $self->{languages}->{$lang}->{match}->{False});
    return false;
}

1;

__END__

=pod

=encoding 
Bio-App-SELEX-RNAmotifAnalysis ( M/MO/MOLECULES/Bio-App-SELEX-RNAmotifAnalysis-0.0095.tar.gz, MOLECULES, 2014; MetaCPAN )
Bio-App-SELEX-RNAmotifAnalysis/lib/Bio/App/SELEX/Stockholm.pm ( view source; MetaCPAN )
$isGap = $stock->is_gap (SEQNAME, $colNum)

Return true if a given (SEQNAME,column) co-ordinate is a gap.

=cut

# Return true if a given (rowname,column) co-ordinate is a gap
sub is_gap {
    my ($se
marc-mir ( M/MA/MARCC/marc-mir-0.4.tar.gz, MARCC, 2013; MetaCPAN )
marc-mir/lib/MARC/MIR.pm ( view source; MetaCPAN )
 }
	    grep_subfields { (tag) ~~ $sspec }
    } grep_fields { (tag) ~~ $fspec }
    # TODO: Benchmark: is it really faster ? 
    # map_fields {
    #     if ( (tag) ~~ $fspec ) {
    #         map_s
ubfields {
    #     	if ( (tag) ~~ $sspec ) {
    #     	    with_value { $code->() }
    #     	} else { () }
    #         }
    #     } else { () }
    # } $rec
}

sub marawk (&$) {
    my $code =
Excel-Template ( R/RB/RBO/Excel-Template-0.34.tar.gz, RBO, 2012; MetaCPAN )
Excel-Template/lib/Excel/Template/Factory.pm ( view source; MetaCPAN )
emplate::Element',

    'BASE'       => 'Excel::Template::Base',
);

my %isBuildable = map { $_ => ~~1 } qw(
    WORKBOOK WORKSHEET
    FORMAT BOLD HIDDEN ITALIC LOCKED OUTLINE SHADOW STRIKEOUT
    IF
or '$class' ($filename) because $@\n";
            }

            $Loaded{$class} = ~~1;
        }

        return ~~1;
    }
}

{
    my @param_names = qw(name class isa);
    sub register
    {
    
rams{class} );

        $Manifest{$name} = $params{class};
        $isBuildable{$name} = ~~1;

        return ~~1;
    }
}

sub _create
{
    my $self = shift;
    my $name = uc shift;

    return unl
Test-Cucumber-Tiny ( M/MI/MICVU/Test-Cucumber-Tiny-0.64.tar.gz, MICVU, 2014; MetaCPAN )
Test-Cucumber-Tiny/lib/Test/Cucumber/Tiny.pm ( view source; MetaCPAN )
             data      => 122,
                }
            ],
        }
    );

    $cucumber->Given(
        qr/^(.+),.+entered (\d+)/ => sub {
            my $c       = shift;
            my $subj
 $num     = $2;
            $c->{$key} = $num;
            $c->Log($subject);
        }
      )->Given(
        qr/^(.+),.+entered number of/ => sub {
            my $c       = shift;
            my $
 }
    ]
 )

 ->Given(...)
 
 ->Then(...)

 ->Test;

=head2 Scenarios

Create a cucumber with a plain array list of scenarios

 Test::Cucumber::Tiny->Scenarios(
    { ... }
 )
 ->Given(...)
 ->When(..
Data-Multihash ( R/RI/RIGHTFOLD/Data-Multihash-0.03-fix.tar.gz, RIGHTFOLD, 2014; MetaCPAN )
Data-Multihash/lib/Data/Multihash.pm ( view source; MetaCPAN )


*remove_values = \&remove_value;

=head2 remove_pair(%pairs), remove_pairs(%pairs)

Remove all given (key, value) pairs from the multiset.

=cut

sub remove_pair {
    my ($self, %pairs) = @_;
    w
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Query/UpdateField.pm ( view source; MetaCPAN )
 $self = bless { }, $class;
	my $args = shift;
	my @spec;
	if(ref $args ~~ 'HASH') {
		push @spec, %$args;
	} elsif(ref $args ~~ 'ARRAY') {
		push @spec, @$args;
	} else {
		die "no idea what $args is
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Query.pm ( view source; MetaCPAN )
tType = ucfirst($type) eq $type;

	if(ref $spec ~~ 'ARRAY') {
		$self->$meth->push($extType ? $type->new($_) : $_) foreach @$spec;
	} elsif(ref $spec ~~ 'HASH') {
		# FIXME wrong if $extType is not se
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Query/InsertField.pm ( view source; MetaCPAN )
 $self = bless { }, $class;
	my $args = shift;
	my @spec;
	if(ref $args ~~ 'HASH') {
		push @spec, %$args;
	} elsif(ref $args ~~ 'ARRAY') {
		push @spec, @$args;
	} else {
		die "no idea what $args is
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel.pm ( view source; MetaCPAN )
gin>

=back

=cut

sub new {
	my $class = shift;

	my @def;
	if(ref $_[0] ~~ 'HASH') {
		@def = %{$_[0]};
	} elsif(ref $_[0] ~~ 'ARRAY') {
		@def = @{$_[0]};
	} else {
		@def = @_;
	}

	my $self = ble
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/DB.pm ( view source; MetaCPAN )
= $self;
		$sub->($self, @_);
		die "Fork within transaction is not recommended" unless $self->pid ~~ $$;

		if($level) {
			logDebug("Commit to level %d", $level);
			$self->dbh->do("release tran_" .
to reuse existing handles.

=cut

sub _fork_guard {
	my $self = shift;
	return $self if $self->pid ~~ $$;
	logError("Fork inside a transaction (level %d), old pid %d, new pid %d", $self->transactionLe
SchemaView-Plus ( M/MI/MILSO/SchemaView-Plus-0.17.tar.gz, MILSO, 2014; MetaCPAN )
SchemaView-Plus/lib/Logo/svplus.pm ( view source; MetaCPAN )
�^^^]q�������U_^^^^^^hn������mL^Y�������ob_^^^^^^^^^oz~~~~~{nd^^cu������YW^^^uv^^^cu������YW^]Y�������PXY^^^^^^^^^chlmmm
oooooooooooo��oooooooooooooooo�wooooooonhZK@<>ESblooooooowoooooooooooooooo�oooooooooooooooo~~oooooooooooooooo�ooooooonhZK@<>EUeooooooooooooooow�����ɦooooooooooooooou����
DBIx-Class-MaterializedPath ( F/FR/FREW/DBIx-Class-MaterializedPath-0.002001.tar.gz, FREW, 2014; MetaCPAN )
DBIx-Class-MaterializedPath/lib/DBIx/Class/MaterializedPath.pm ( view source; MetaCPAN )
h of something like 63 levels, because each level in the tree
is C<< q(/) . "$id" >>, so C<< 255/4 ~~ 63 >>.  An example for this might be
C<parent_materialized_path>.

=item * C<parent_relationship> 
Text-Glob-DWIW ( J/JO/JOSEF/Text-Glob-DWIW-0.01.zip, JOSEF, 2014; MetaCPAN )
Text-Glob-DWIW/lib/Text/Glob/DWIW.pm ( view source; MetaCPAN )
->has_next}
} # needed: size, next, has_next(or last); optional: last, get, __iter__,_iter_cp,...
#~~ constants
my $pkg        =__PACKAGE__;                     my $keyH="$pkg/key";
my $nobackslash=qr
xplicitly violating DRY.

$Carp::Internal{$pkg}++ unless $ENV{DEBUG}//''=~/\bTGDWIW\b|\b\Q$pkg/;

#~~ low-level helper
sub _r     (&$) { $_[0]->(local $_=$_[1]);$_ } # missing s///r under 5.10
sub _ma
$_[0] }
sub __funwa(;$) { my ($name,$wa)=(caller 1+($_[0]//0))[3,5];$name=~s/^.*:://;($name,$wa)}
#~~ element count & guess
sub __mlen ($$) { my@l=map length,@_; my$r= $l[0] ne $l[1] ? max @l :
      

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