Group
Extension

Matches 1364

Getopt-Plus ( F/FL/FLUFFY/Getopt-Plus-0.99.tar.gz, FLUFFY, 2012; MetaCPAN )
Getopt-Plus/lib/Getopt/Plus.pm ( view source; MetaCPAN )
 argument is given, then it is
treated as an option name, and the description for that option is given (a la
longhelp).
END
     default   => 0,
     linkage   => sub { $_[0]->dump_help(undef, $_[2]) 
EBook-MOBI ( B/BO/BORISD/EBook-MOBI-0.55.tar.gz, BORISD, 2012; MetaCPAN )
EBook-MOBI/lib/EBook/MOBI/MobiPerl/Palm/Doc.pm ( view source; MetaCPAN )
} = undef;
	$self->{sort} = undef;
	$self->{records} = [];

	return $self;
}

# determine if the given (raw) record is a Doc header record and fill in the
# record with appropriate fields if it is.
su
Mojolicious-Plugin-BlogSpam ( A/AK/AKRON/Mojolicious-Plugin-BlogSpam-0.05.tar.gz, AKRON, 2012; MetaCPAN )
Mojolicious-Plugin-BlogSpam/lib/Mojolicious/Plugin/BlogSpam.pm ( view source; MetaCPAN )
r site
regarding the number of comments detected as C<ok> or C<spam>.
If no C<site> attribute is given (whether as a parameter or when
registering the plugin), this will return nothing.

For a non-blo
Config-YAARG ( A/AL/ALUCAS/Config-YAARG-0.023.tar.gz, ALUCAS, 2012; MetaCPAN )
Config-YAARG/lib/Config/YAARG.pm ( view source; MetaCPAN )
    my ($self, $struct, $type_map, $key) = @_;


    #attempt reading common data structures
    given (ref($struct)) {

        when ('ARRAY') {
            return [ map {
                $self->_yaa
            
            #attempt custom type mapping
            if ($target) {
                given (ref($target)) {
                    when ('CODE') {
                        return $target->($st
autodie ( P/PJ/PJF/autodie-2.13.tar.gz, PJF, 2012; MetaCPAN )
autodie/lib/autodie/exception.pm ( view source; MetaCPAN )
"stringify"
;

# Overload smart-match only if we're using 5.10

use if ($] >= 5.010), overload => '~~'  => "matches";

our $VERSION = '2.13';

my $PACKAGE = __PACKAGE__;  # Useful to have a scalar for
en') ) { ... }

    if ( $e ~~ 'open' ) { ... }

C<matches> is used to determine whether a
given exception matches a particular role.  On Perl 5.10,
using smart-match (C<~~>) with an C<autodie::except
Plack-Middleware-Auth-QueryString ( S/SO/SONGMU/Plack-Middleware-Auth-QueryString-0.02.tar.gz, SONGMU, 2012; MetaCPAN )
Plack-Middleware-Auth-QueryString/lib/Plack/Middleware/Auth/QueryString.pm ( view source; MetaCPAN )
 $env) = @_;

    my $req = Plack::Request->new($env);
    $req->query_parameters->get($self->key) ~~ $self->password;
}

sub unauthorized {
    my $self = shift;

    my $body = 'Authorization requir
Tapper-Test ( A/AM/AMD/Tapper-Test-4.1.1.tar.gz, AMD, 2012; MetaCPAN )
Tapper-Test/lib/Tapper/Test.pm ( view source; MetaCPAN )
node_name,
                          $os->name(long => 1, edition => 1),
                          ~~localtime($os->build),
                         );
        $uname .= " [Sys::Info]";
        return
Tapper-MCP ( A/AM/AMD/Tapper-MCP-4.1.0.tar.gz, AMD, 2012; MetaCPAN )
Tapper-MCP/lib/Tapper/MCP/State.pm ( view source; MetaCPAN )
te;
        my $keep_alive_timeout_date = $self->state_details->keep_alive_timeout_date;
        given ($self->state_details->current_state){
                when(['invalid', 'finished', 'started']){ 
f ( $installer_timeout_date <= $now) {
                my $msg = 'timeout hit ';
                given ($self->state_details->current_state){
                        when ('started')        { $msg .= 
or => 1,
                               msg   => "Timeout in PRC $prc_number "};
                given($self->state_details->prc_state($prc_number)){
                        when ('boot'){
           
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/Reports/Id.pm ( view source; MetaCPAN )
get_report_failures
{
        my ($self, $report) = @_;

        return $report->get_cached_tapdom ~~ dpath '//tap//lines//is_ok[value eq 0]/..';
}

sub index :Path :Args(1)
{
        my ( $self, $c, 
Dist-Zilla-PluginBundle-Prereqs ( B/BB/BBYRD/Dist-Zilla-PluginBundle-Prereqs-0.92.tar.gz, BBYRD, 2012; MetaCPAN )
Dist-Zilla-PluginBundle-Prereqs/lib/Dist/Zilla/Plugin/PrereqsClean.pm ( view source; MetaCPAN )
 (my $main_module = $distro) =~ s/-/::/g;
         $main_module = $modules[0] unless ($main_module ~~ @dmods);
         
         # remove any obvious split potentials
         if ($self->removal_leve
Tapper-Notification ( A/AM/AMD/Tapper-Notification-4.1.0.tar.gz, AMD, 2012; MetaCPAN )
Tapper-Notification/lib/Tapper/Notification.pm ( view source; MetaCPAN )
 $lookback tests did not have the same success state
                return 0 if not $this_success ~~ $success;
        }
        my $testrun_success = get_testrun_success($testrun->{id});

        re
 condition
#
# =cut
#
# sub matches
# {
#         my ($self, $condition, $event) = @_;
#         given($event->type){
#                 when ('testrun_finished') {
#                         $testrun  
   return  $success;
# }
#



sub matches
{
        my ($self, $condition, $event) = @_;
        given($event->type){
                when ('testrun_finished') {
                        $testrun      
DBICx-Backend-Move ( C/CA/CALDRIN/DBICx-Backend-Move-1.000010.tar.gz, CALDRIN, 2012; MetaCPAN )
DBICx-Backend-Move/lib/App/DBICx/Backend/Move.pm ( view source; MetaCPAN )
($opt->{to_dsn})    or die "Can't parse DBI DSN '$opt->{from_dsn}'";
        my $module;
        given (lc($driver)) {
                when ('sqlite') { $module='DBICx::Backend::Move::SQLite' };
     
Perl-Achievements ( Y/YA/YANICK/Perl-Achievements-0.4.0.tar.gz, YANICK, 2012; MetaCPAN )
Perl-Achievements/lib/Perl/Achievements/Achievement/SchwartzianTransform.pm ( view source; MetaCPAN )
->isa('PPI::Token::Word')                #   the tokens
                        and $_[1]->literal ~~ [ 'map', 'grep', 'sort' ]   #   'map' and 'sort' ('grep' doesn't hurt here and you could
         
I::Token::Word')             #   you could watch out for more
                  and $_[1]->literal ~~ [ 'map', 'sort' ]  #   'grep', 'uniq', ...
            }
        )
      } or return;

    $self->
Test-Vars ( G/GF/GFUJI/Test-Vars-0.002.tar.gz, GFUJI, 2012; MetaCPAN )
Test-Vars/lib/Test/Vars.pm ( view source; MetaCPAN )
my $p(@{$pad}){
            next if !( defined $p && !$p->{outside} );

            if($p->{count} ~~ 0){
                next if $args->{ignore_vars}{$p->{name}};

                if(my $cb = $args->
PICA-Modification ( V/VO/VOJ/PICA-Modification-0.16.tar.gz, VOJ, 2012; MetaCPAN )
PICA-Modification/lib/PICA/Modification/Queue.pm ( view source; MetaCPAN )
w(reftype);

sub new {
    my $class = shift;
    my $name  = shift || 'hash';
    
    if ('HASH' ~~ reftype($name)) {
        my $args = $name;
        $name = delete $name->{type};
        return $
makepp ( P/PF/PFEIFFER/makepp-2.0.98.2.tgz, PFEIFFER, 2012; MetaCPAN )
makepp/pod/makepp_functions.pod ( view source; MetaCPAN )
differs from patsubst
in that it will perform correctly when alternate names for directories are
given (as long as they precede the percent sign).  For example,

    $(filesubst ./src/%.c, %.o, $(wild
Tapper-Cmd ( A/AM/AMD/Tapper-Cmd-4.1.0.tar.gz, AMD, 2012; MetaCPAN )
Tapper-Cmd/lib/Tapper/Cmd/Testplan.pm ( view source; MetaCPAN )

use parent 'Tapper::Cmd';



sub get_module_for_type
{
        my ($self, $type) = @_;
         given (lc($type)){
                when('multitest') { return "Tapper::Cmd::Testrun"; }
               
makepp ( P/PF/PFEIFFER/makepp-2.0.98.2.tgz, HOLT, 2012; MetaCPAN )
makepp/Makesubs.pm ( view source; MetaCPAN )
ers from patsubst
# in that it will perform correctly when alternate names for directories are
# given (as long as they precede the percent sign).  For example,
#
#  $(filesubst ./src/%.c, %.o, $(wild
makepp ( P/PF/PFEIFFER/makepp-2.0.98.2.tgz, PFEIFFER, 2012; MetaCPAN )
makepp/Mpp/Subs.pm ( view source; MetaCPAN )
ers from patsubst
# in that it will perform correctly when alternate names for directories are
# given (as long as they precede the percent sign).  For example,
#
#  $(filesubst ./src/%.c, %.o, $(wild
Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/man_pages/perlreintro.pod ( view source; MetaCPAN )
f, but how do we apply these rules to a string other than C<$_>?
We use the smart match operator C<~~>.  This operator is called "smart
match" because it does quite a bit more than just apply regular

expression against the string contained in a variable called C<$foo>,
we'd do this:

        $foo ~~ / <regex here> /;

There's a more general syntax that allows the author to choose
different delimi
h the
C</> character and you don't feel like writing C<\/> so much:

        $foo ~~ m/ <regex here> /;
        $foo ~~ m! <regex here> !;      # different delimiter

=head3 Modifiers

The more genera

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