Group
Extension

Matches 1309

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
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
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)
Excel-Template ( R/RB/RBO/Excel-Template-0.34.tar.gz, RBO, 2012; MetaCPAN )
Excel-Template/lib/Excel/Template.pm ( view source; MetaCPAN )
n\t" .
            join("\n\t", @renderer_classes) .
            "\n";

    $self->{USE_UNICODE} = ~~0
        if $] >= 5.008;

    return $self;
}

sub param
{
    my $self = shift;

    # Allow an a
$_} for keys %params;
    @{$self->{PARAM_MAP}}{keys %params} = @params{keys %params};

    return ~~1;
}

sub write_file
{
    my $self = shift;
    my ($filename) = @_;

    my $xls = $self->{RENDER
lf->_prepare_output($xls);
    };
print $@ if $@;

    $xls->close;

    return if $@;

    return ~~1;
}

sub output
{
    my $self = shift;

    my $output;
    tie *XLS, 'IO::Scalar', \$output;

  
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> 
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����
Text-Cadenceparser ( H/HO/HOLLIE/Text-Cadenceparser-1.12.tar.gz, HOLLIE, 2013; MetaCPAN )
Text-Cadenceparser/lib/Text/Cadenceparser.pm ( view source; MetaCPAN )
_;

    return $self->{_msg}->{$type} if ( $type ~~ [qw(info warning error)] );
    return $self->{_data}->{root}->{$type}->{total}
      if ( $type ~~ [qw(area active leakage)] );
    return $self->{
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
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 :
      
Caffeinated_Markup_Language ( J/JG/JGREGORY/Caffeinated_Markup_Language-0.11.1.tar.gz, JGREGORY, 2014; MetaCPAN )
Caffeinated_Markup_Language/lib/Text/CaffeinatedMarkup/HTMLFormatter.pm ( view source; MetaCPAN )
ne

  __foo__ -> <u>foo</u>

=head3 delete

  --foo-- -> <del>foo</del>

=head3 section divider

  ~~ -> <hr>

=head3 blockquote

  ""foo""     -> <blockquote>foo</blockquote>
  ""foo|bar"" -> <blockq
Acme-Given-Hash ( N/NO/NOTBENH/Acme-Given-Hash-0.007.tar.gz, NOTBENH, 2013; MetaCPAN )
Acme-Given-Hash/lib/Acme/Given/Hash.pm ( view source; MetaCPAN )
no if $] >= 5.018, warnings => "experimental::smartmatch";
our @EXPORT = qw{gvn};

#ABSTRACT: is given() too much typing for you?

sub gvn ($) {
  my $when = shift;
  # old hashref notation
  if ( ref
use warnings;
use v5.10;
no if $] >= 5.018, warnings => "experimental::smartmatch";

use overload '~~' => sub{
  my ($self, $key) = @_;

  # in the case of a sub as a value execute with $key
  sub RUN
ubs to just use $_;
  foreach my $pair (@{ $self->{calculate} } ) {

    my $match;
    # 'string' ~~ [1..10] throws a warning, this disables this just for the check
    { no warnings qw{numeric};
   
Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/man_pages/perlintro.pod ( view source; MetaCPAN )
 operator, C<~~>, can be used in a variety of situations. Here
are a few examples:

    say "Yep" if $banana ~~ @fruits;    # is the element is present in the array?
    exit if $error ~~ %fatal;     
      # is the key present in the hash?
    function() if $condition ~~ True    # is the condition true?
    %my_hash ~~ %their_hash             # do the hashes have the same keyes?

Smart matching is
$a ~~ /foo/  { ... }     # true if $a contains "foo"

The C<//> matching operator is documented in L<doc:perlop>. It operators on
C<$_> by default, or can be bound to another variable using the C<~~>
digitagCT ( J/JA/JAUDOUX/digitagCT-1.01.tar.gz, JAUDOUX, 2013; MetaCPAN )
digitagCT/lib/CracTools/DigitagCT/Analyzer/Annotation.pm ( view source; MetaCPAN )
n_coding) = $annotation{non_coding_description} =~ /(\S+):\S+/;
      unless($main_type_non_coding ~~ @type_non_coding) {
        push @type_non_coding, $main_type_non_coding;
      }
    }

    $self
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
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 '
Scalar-In ( S/ST/STEFFENW/Scalar-In-0.002.tar.gz, STEFFENW, 2013; MetaCPAN )
Scalar-In/lib/Scalar/In.pm ( view source; MetaCPAN )
his *.pl files.

=head1 DESCRIPTION

This module was written because the smartmatch operator C<~~>
was deprecated as experimental.

That module implements some "in" subroutines
with smartmatch
IES

nothing

=head1 BUGS AND LIMITATIONS

nothing

=head1 SEE ALSO

smartmatch operator ~~

=head1 AUTHOR

Steffen Winkler

=head1 LICENSE AND COPYRIGHT

Copyright (c) 2013,
Steffe
Monitoring-Livestatus-Class ( N/NI/NIERLEIN/Monitoring-Livestatus-Class-0.06.tar.gz, NIERLEIN, 2013; MetaCPAN )
Monitoring-Livestatus-Class/lib/Monitoring/Livestatus/Class/Base/Abstract.pm ( view source; MetaCPAN )
atch regular expression (substring match)
            # =~    equality ignoring case
            # ~~    regular expression ignoring case
            # <     less than
            # >     greater than
lib-remote ( M/MC/MCHE/lib-remote-0.11.tar.gz, MCHE, 2013; MetaCPAN )
lib-remote/lib/lib/remote.pm ( view source; MetaCPAN )
>{url};
                push @{$config->{$pkg}{_INC}}, $url if $url && $url =~ /$url_re/ && !($url ~~ @{$config->{$pkg}{_INC}});
            } else {
                push @{$config->{$pkg}{_last_confi
t->{url} =~ /$url_re/) {
            push @{$config->{$pkg}{_INC}}, $opt->{url} unless $opt->{url} ~~ @{$config->{$pkg}{_INC}};#$unique{$arg}++;
        } elsif (!ref($arg)) {
            $module = $a

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