Group
Extension

Matches 1364

Excel-Template ( R/RB/RBO/Excel-Template-0.34.tar.gz, RBO, 2012; MetaCPAN )
Excel-Template/lib/Excel/Template/Context.pm ( view source; MetaCPAN )
ner will use this object to
# maintain the context for its children.

my %isAbsolute = map { $_ => ~~1 } qw(
    ROW
    COL
);

sub new
{
    my $class = shift;
    my $self = $class->SUPER::new(@_);
  {
        next unless exists $map->{$param};
        $depth--, next if $depth;

        $found = ~~1;
        $val = $map->{$param};
        last;
    }

    die "Parameter '$param' not found\n"
   
 unless exists $obj->{$key};
        $self->{$key} = $self->resolve($obj, $key);
    }

    return ~~1;
}

sub exit_scope
{
    my $self = shift;
    my ($obj, $no_delta) = @_;

    unless ($no_delta)
Switcheroo ( T/TO/TOBYINK/Switcheroo-0.008.tar.gz, TOBYINK, 2013; MetaCPAN )
Switcheroo/lib/Switcheroo.pm ( view source; MetaCPAN )
01):   say "large";
   }

This is all thanks to L<match::simple> which respects the overloaded
C<< ~~ >> operator.

=head1 CAVEATS

Internally a lot of parts of code are passed around as coderefs, so
Benchmark-Perl-Formance-Cargo ( S/SC/SCHWIGON/perl-formance/Benchmark-Perl-Formance-Cargo-0.07.tar.gz, SCHWIGON, 2012; MetaCPAN )
Benchmark-Perl-Formance-Cargo/share/P6STD/Cursor.pm6 ( view source; MetaCPAN )
;
    my $m;
    my $here = self;

    $m ~= $s;
    $m ~= $here.locmess;
    $m ~= "\n" unless $m ~~ /\n$/;

    note $Cursor::RED, '===', $Cursor::CLEAR, 'SORRY!', $Cursor::RED, '===', $Cursor::CLEA
SUPPOSE or $*FATALS++;
    if $s {
        my $m = $s;
        $m ~= self.locmess ~ "\n" unless $m ~~ /\n$/;
        if $*FATALS > 10 or $*IN_SUPPOSE {
            die $m;
        }
        else {
   
pre = substr($pre, -40, 40);
    1 while $pre ~~ s!.*\n!!;
    $pre = '<BOL>' if $pre eq '';
    my $post = substr($*ORIG, $pos, 40);
    1 while $post ~~ s!(\n.*)!!;
    $post = '<EOL>' if $post eq '
Benchmark-Perl-Formance-Cargo ( S/SC/SCHWIGON/perl-formance/Benchmark-Perl-Formance-Cargo-0.07.tar.gz, SCHWIGON, 2012; MetaCPAN )
Benchmark-Perl-Formance-Cargo/share/P6STD/STD_P5.pm6 ( view source; MetaCPAN )
    ]?
    | <?before ';'>
    ]
}

token eat_terminator {
    [
    || ';' [ <?before $> { $*ORIG ~~ s/\;$/ /; } ]?
    || <?{ @*MEMOS[$¢.pos]<endstmt> }> <.ws>
    || <?terminator>
    || $
    |
     $text ~= $ch;
                            $to = $¢.pos;
                            if $ch ~~ "\n" {
                                $multiline++;
                            }
               
substr($*ORIG,$pos++,1);
    if $char ~~ /^\s$/ {
        self.panic("Whitespace character is not allowed as delimiter"); # "can't happen"
    }
    elsif $char ~~ /^\w$/ {
        self.panic("Alphanu
Tweet-ToDelicious ( Y/YS/YSASAKI/Tweet-ToDelicious-0.08.tar.gz, YSASAKI, 2012; MetaCPAN )
Tweet-ToDelicious/lib/Tweet/ToDelicious.pm ( view source; MetaCPAN )
:ToDelicious::Entity->new($tweet);
                if ( $entry->is_favorite && $entry->screen_name ~~ $myname ) {
                    my @posts = $entry->posts;
                    $self->_posts(@post
tity->new($tweet);
                if (   ( $entry->screen_name ~~ $myname )
                    or ( $entry->in_reply_to_screen_name ~~ $myname ) )
                {
                    my @posts = $
d $uri, Coro::rouse_cb;
    my ( $data, $headers ) = Coro::rouse_wait;
    if ( $headers->{Status} ~~ [ 200, 301, 302, 304 ] ) {
        debugf( "expand: %s => %s", $uri, $headers->{URL} );
        re
Text-CSV-Merge ( L/LI/LISANTRA/Text-CSV-Merge-0.05.tar.gz, LISANTRA, 2013; MetaCPAN )
Text-CSV-Merge/lib/Text/CSV/Merge.pm ( view source; MetaCPAN )
arch parameter: '$_[0]' is not one of the columns: @{$self->columns}";
        #    unless ( $_[0] ~~ @{$self->columns} );
    #}
);

has first_row_is_headers => (
    is => 'rw',
    required => 1,
 
Test-Approvals ( J/JR/JRCOUNTS/Test-Approvals-v0.0.5.tar.gz, JRCOUNTS, 2013; MetaCPAN )
Test-Approvals/bin/versionall.pl ( view source; MetaCPAN )
t($file)->mtime;
    if ( ( !$force ) and $mtime ~~ $mtimes{$file}->{mtime} ) {
        next;
    }

    if ( ( !$force ) and get_digest($file) ~~ $mtimes{$file}->{digest} ) {
        next;
   
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Query/Base.pm ( view source; MetaCPAN )
f = shift;
	my $in = shift;
	my $out;
	my $type = ref $in;
	given($type) {
		when('SCALAR') {
			$out = $$in;
			if(defined($out) && $out ~~ /^-?\d+(?:\.\d+)?$/) {
				$out = $out+0;
			}
		}
		defaul
cut

sub decantQuotedValue {
	my $self = shift;
	my $in = shift;
	my $out;
	my $type = ref $in;
	given($type) {
		when('SCALAR') {
			$out = $$in;
			if(!defined($out)) {
				$out = 'NULL';
			} elsif
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Support/Perl/Base.pm ( view source; MetaCPAN )
hile(my ($k, $v) = each %args) {
		if($k eq 'create') {
			$opt{create} = $v ? 1 : 0;
		} elsif($k ~~ $class->_supported_callbacks) {
			$self->{_callback}->{$k} = $v;
		} else {
			warn "Unknown call
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Test/Storage.pm ( view source; MetaCPAN )
%read = %$data;
		$fail->("wrong keys returned: " . join ',', keys %read) unless [sort keys %read] ~~ [qw(id name)];
		$fail->("wrong data for name -  returned: " . $read{name}) unless $read{name} eq 
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Query/Field.pm ( view source; MetaCPAN )
return 'null' unless defined $v && $v ne 'undef';
	return $v if $self->field && $self->field->type ~~ [qw/int bigint serial bigserial numeric/];
	$v =~ s/'/''/g;
	$v =~ s!\\!\\\\!g;
	return "E'$v'";
}
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Entity.pm ( view source; MetaCPAN )
dst->name;
	return 0 if $self->field->count != $dst->field->count;
	return 0 unless $self->primary ~~ $dst->primary;

	my @srcF = sort { $a->name cmp $b->name } $self->field->list;
	my @dstF = sort { 
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Storage/Perl.pm ( view source; MetaCPAN )
(sort values %{$EntityMap{$args{entity}->name}->{store}}) {
		next ENTRY unless all { $entry->{$_} ~~ $args{data}->{$_} } keys %{$args{data}};
		++$seen;
		$args{on_item}->($entry) if exists $args{on_
EntityModel ( T/TE/TEAM/EntityModel-0.102.tar.gz, TEAM, 2013; MetaCPAN )
EntityModel/lib/EntityModel/Collection.pm ( view source; MetaCPAN )
$code", $event);
		push @{$self->{event_handler}->{$event}}, $code;
		++$self->{pending} if $event ~~ [qw(item done)];
	}
	return $self;
}

=head2 has_event_handlers_for

Returns how many event handle
Text-Xslate ( G/GF/GFUJI/Text-Xslate-1.6002.tar.gz, GFUJI, 2012; MetaCPAN )
Text-Xslate/src/Text-Xslate.xs ( view source; MetaCPAN )
(SvOBJECT(r)) { /* a ~~ $object */
            /* XXX: what I should do? */
            return tx_sv_eq_nomg(aTHX_ a, b);
        }
        else if(SvTYPE(r) == SVt_PVAV) { /* a ~~ [ ... ] */
        
 }
            }
            return FALSE;
        }
        else if(SvTYPE(r) == SVt_PVHV) { /* a ~~ { ... } */
            if(SvOK(a)) {
                HV* const hv = (HV*)r;
                return
pkg ( D/DJ/DJERIUS/pkg-0.04.tar.gz, DJERIUS, 2013; MetaCPAN )
pkg/lib/pkg.pm ( view source; MetaCPAN )
proferred\n";

        next if defined $mopt{include} && !( $pkg ~~ $mopt{include} );
        next if defined $mopt{exclude} && $pkg ~~ $mopt{exclude};

        # print STDERR "package $pkg accepted\n
cification>

Check the package name against the I<specification> using the smart match
operator (C<~~>) and ignore it if it does not match.  If C<-inner> or
C<-only_inner> are specified, inner package
cification>

Check the package name against the I<specification> using the smart
match operator (C<~~>) and ignore it if it matches.  The C<-exclude> match is
processed after C<-include> if both are s
Net-CIDR-ORTC ( C/CI/CITRIN/Net-CIDR-ORTC-0.02.tar.gz, CITRIN, 2013; MetaCPAN )
Net-CIDR-ORTC/lib/Net/CIDR/ORTC.pm ( view source; MetaCPAN )
 preorder traversal
sub pass_three {
	my ($node, $parent, $parent_value) = @_;

	if ($parent_value ~~ $node->[VALUE]) {
		# parent value is member of node's potential values
		undef $node->[VALUE];
	}
value (prefixes from children will be used)
				undef $node->[VALUE];
			} elsif ($node->[OLD_VAL] ~~ $node->[VALUE]) {
				# use old value if it found in set of potential new values
				$node->[VALUE
Perl6-PVIP ( T/TO/TOKUHIROM/Perl6-PVIP-0.09.tar.gz, TOKUHIROM, 2013; MetaCPAN )
Perl6-PVIP/pvip/src/pvip.h ( view source; MetaCPAN )
_CALL, /* $foo.^methods */
    PVIP_NODE_REGEXP,
    PVIP_NODE_SMART_MATCH, /* ~~ */
    PVIP_NODE_NOT_SMART_MATCH, /* !~~ */
    PVIP_NODE_PERL5_REGEXP, /* m:P5/./ */
    PVIP_NODE_TRUE,
    PVIP_NOD
Seis ( T/TO/TOKUHIROM/Seis-0.12.tar.gz, TOKUHIROM, 2013; MetaCPAN )
Seis/pvip/src/pvip.h ( view source; MetaCPAN )
_CALL, /* $foo.^methods */
    PVIP_NODE_REGEXP,
    PVIP_NODE_SMART_MATCH, /* ~~ */
    PVIP_NODE_NOT_SMART_MATCH, /* !~~ */
    PVIP_NODE_PERL5_REGEXP, /* m:P5/./ */
    PVIP_NODE_TRUE,
    PVIP_NOD
Net-Radio-Location-SUPL-Test ( R/RE/REHSACK/Net-Radio-Location-SUPL-Test-0.001.tar.gz, REHSACK, 2012; MetaCPAN )
Net-Radio-Location-SUPL-Test/lib/Net/Radio/Location/SUPL/Test.pm ( view source; MetaCPAN )
    my @v = map { $modem_api->get_modem_property( $mob, $_ ) } @match_keys;
                    @v ~~ @match_values;
                },
                $modem_api->get_modems()
                       
  $rrlp_resp_pdu->{referenceNumber} = $rrlp_pdu->{referenceNumber};
    my $rrlp_resp_type;

    given ( $rrlp_pdu->{component}->{present} )
    {
        when ($Net::Radio::Location::SUPL::XSc::RRLP_
 $log->debugf( "pdu: %s", $supl_pdu->xml_dump() );

    # decode_ulp_pdu croaks on error ...
    given ( $supl_pdu->{message}->{present} )
    {
        when ($Net::Radio::Location::SUPL::XSc::UlpMess

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