Group
Extension

Matches 1364

Perl-Critic-Policy-ProhibitSmartmatch ( H/HO/HOLCAPEK/Perl-Critic-Policy-ProhibitSmartmatch-0.4.tar.gz, HOLCAPEK, 2017; MetaCPAN )
Perl-Critic-Policy-ProhibitSmartmatch/lib/Perl/Critic/Policy/Operators/ProhibitSmartmatch.pm ( view source; MetaCPAN )
~~';
    return $self->violation( $DESC, $EXPL, $elem );
}

1;

__END__

=encoding utf-8

=head1 NAME

Perl::Critic::Policy::Operators::ProhibitSmartmatch
- avoid using explicit smartmatching via C<~~
Smartmatch operator is considered experimental, see L<perlop/"Smartmatch Operator">.

    if ($foo ~~ [ $bar ]) {
        say 'No!';
    }

=head1 AUTHOR

Jan Holcapek E<lt>holcapek@gmail.comE<gt>, wh
XML-XSS ( Y/YA/YANICK/XML-XSS-0.3.5.tar.gz, YANICK, 2017; MetaCPAN )
XML-XSS/lib/XML/XSS/Role/Renderer.pm ( view source; MetaCPAN )

    return 
        sort
        map { $_->name }
        grep { 'XML::XSS::Role::StyleAttribute' ~~ @{ $_->applied_traits } }
        grep { $_->has_applied_traits }
        map { $self->meta->get_a
perl5i ( M/MS/MSCHWERN/perl5i-v2.13.2.tar.gz, MSCHWERN, 2016; MetaCPAN )
perl5i/lib/perl5i/2/equal.pm ( view source; MetaCPAN )
gs
            return $r1 eq $r2;
        }
    }
    elsif( $ref1 eq $ref2 ) {
        if ( $ref1 ~~ [qw(Regexp GLOB CODE)] ) {
            return $r1 eq $r2;
        }
        elsif ( $ref1 eq 'ARRA
 $ref1 eq 'HASH' ) {
            return _equal_hashes( $r1, $r2 );
        }
        elsif ( $ref1 ~~ [qw(SCALAR REF)] ) {
            return are_equal($$r1, $$r2);
        }
        else {
          
($r1, $r2) = @_;
    # Hashes can't be equal unless their keys are equal.
    return unless ( %$r1 ~~ %$r2 );

    # Compare the equality of the values for each key.
    foreach my $key (keys %$r1) {
XML-XSS ( Y/YA/YANICK/XML-XSS-0.3.5.tar.gz, YANICK, 2017; MetaCPAN )
XML-XSS/lib/XML/XSS.pm ( view source; MetaCPAN )


        $self->get($name)->set(%$attrs);
    }
}

sub get {
    my ( $self, $name ) = @_;

    given ( $name ) {
        when ( '#document' ) {
            return $self->document;
        }
        
     die;
    }

}


sub resolve {
    my ( $self, $node ) = @_;

    my $type = ref $node;

    given ($type) {
        when ('XML::LibXML::Document') {
            return $self->document;
        }
Gtk2-Ex-DbLinker-DbTools ( R/RA/RAPPAZF/Gtk2-Ex-DbLinker-DbTools-0.112.tar.gz, RAPPAZF, 2017; MetaCPAN )
Gtk2-Ex-DbLinker-DbTools/lib/Gtk2/Ex/DbLinker/AbForm.pm ( view source; MetaCPAN )
ts}->{$idcol} ) {

            #@pk = $dman{ $id }->get_autoinc_primarykeys;

            #if ($id ~~ @pk)  {
            if ( grep /^$idcol$/, @pk ) {
                $log{ $id }->debug( $idcol, " no
alue undef" )
                  unless ( defined $v );

                # if ( defined $v && ( $id ~~ @{$self->{dates_formatted}})){
                if ( defined $v && defined $widgets{ $id }->{hdates
Spp ( S/SS/SSQQ/Spp-2.03.tar.gz, SSQQ, 2017; MetaCPAN )
Spp/lib/Spp/OptAst.pm ( view source; MetaCPAN )
toms) }]);
}

sub opt_spp_atom {
  my $atom = shift;
  my ($name, $value) = flat($atom);
  given ($name) {
    when ('Spec')    { return opt_spp_spec($value) }
    when ('Group')   { return op
($char));
}

sub opt_spp_escape_char {
  my $str  = shift;
  my $char = last_char($str);
  given ($char) {
    when ('n') { return "\n" }
    when ('r') { return "\r" }
    when ('t') { retur

  return cons('Nclass', estr($atoms));
}

sub opt_spp_catom {
  my ($name, $value) = @_;
  given ($name) {
    when ('Cclass') { return opt_spp_cclass($value) }
    when ('Range')  { return op
Patro ( M/MO/MOB/Patro-0.16.tar.gz, MOB, 2017; MetaCPAN )
Patro/lib/Patro/LeumJelly.pm ( view source; MetaCPAN )
p abs log sqrt int 0+ #;

# non-numeric ops:
#  x . x= .= cmp lt le gt ge eq ne ^. ^.= ~. "" qr -X ~~

sub overload_handler {
    my ($ref, $y, $swap, $op) = @_;
    my $handle = handle($ref);
    my 
OpusVL-AppKit ( N/NE/NEWELLC/OpusVL-AppKit-2.29.tar.gz, NEWELLC, 2017; MetaCPAN )
OpusVL-AppKit/lib/OpusVL/AppKit/RolesFor/Plugin.pm ( view source; MetaCPAN )
 if($self->view('Excel'))
    {
        unless ($self->view('Excel')->{etp_config}->{INCLUDE_PATH} ~~ $template_path) {
            push @{$self->view('Excel')->{etp_config}->{INCLUDE_PATH}}, $templat
>view('Excel')->{etp_engine} = 'TTAutoFilter';
        unless ($self->view($tt_view)->include_path ~~ $template_path) {
            push @{$self->view($tt_view)->include_path}, $template_path;
       
nfig = $self->config->{'View::Excel'};
        unless ($excel_config->{etp_config}->{INCLUDE_PATH} ~~ $template_path) {
            push @{$excel_config->{etp_config}->{INCLUDE_PATH}}, $template_path;
Tree-RB ( A/AR/ARUNBEAR/Tree-RB-0.500006.tar.gz, ARUNBEAR, 2017; MetaCPAN )
Tree-RB/lib/Tree/RB.pm ( view source; MetaCPAN )
=head2 max()

Returns the node with the maximal key.

=head2 nth(INDEX)

Returns the node at the given (zero based) index, or undef if there is no node at that index. Negative indexes can be used, wit
Spreadsheet-Reader-ExcelXML ( J/JA/JANDREW/Spreadsheet-Reader-ExcelXML-v0.16.8.tar.gz, JANDREW, 2017; MetaCPAN )
Spreadsheet-Reader-ExcelXML/lib/Spreadsheet/Reader/ExcelXML/Styles.pm ( view source; MetaCPAN )
top' => undef,
	# 26:      'left' => undef
	# 27: },
	# 28: 'cell_coercion' => bless( {
	~~ Skipped 142 lines ~~
	#170:                             'display_name' => 'Excel_date_164',
	#171:							  '
Spreadsheet-Reader-ExcelXML ( J/JA/JANDREW/Spreadsheet-Reader-ExcelXML-v0.16.8.tar.gz, JANDREW, 2017; MetaCPAN )
Spreadsheet-Reader-ExcelXML/lib/Spreadsheet/Reader/ExcelXML/Error.pm ( view source; MetaCPAN )
r' )
    # 05:         }, 'ANONYMOUS_SHIRAS_MOOSE_CLASS_1' );
    # 06: You did something wrong at ~~error_string (defined at ../../../../lib/Spreadsheet/Reader/ExcelXML/Error.pm line 43) line 13.
   
et_error(Spreadsheet::Reader::ExcelXML::Error=HASH(0x31e398), "You did something wrong") called at ~~ line 110
    # 09:    ANONYMOUS_SHIRAS_MOOSE_CLASS_1::set_error(ANONYMOUS_SHIRAS_MOOSE_CLASS_1=HAS
Exception-Base ( D/DE/DEXTER/Exception-Base-0.2501.tar.gz, DEXTER, 2015; MetaCPAN )
Exception-Base/lib/Exception/Base.pm ( view source; MetaCPAN )
lename=>'/etc/passwd');
  };
  # syntax for Perl >= 5.10
  use feature 'switch';
  if ($@) {
    given (my $e = Exception::Base->catch) {
      when ($e->isa('Exception::IO')) { warn "IO problem"; }
 
'}   = 'to_string';

=item "~~"

Smart matching operator.  See C<matches> method.

  eval { Exception::Base->throw( message=>"Message", value=>123 ) };
  print "Message" ~~ $@;                        
       # 1
  print ['Exception::Base'] ~~ $@;                # 1
  print 123 ~~ $@;                                # 1
  print {message=>"Message", value=>123} ~~ $@;   # 1

Warning: The smart operato
Dist-Zilla-Plugin-Lump ( P/PE/PERLANCAR/Dist-Zilla-Plugin-Lump-0.10.tar.gz, PERLANCAR, 2016; MetaCPAN )
Dist-Zilla-Plugin-Lump/lib/Dist/Zilla/Plugin/Lump.pm ( view source; MetaCPAN )
e;
    #    for my $mod (@{ $self->lump_module }) {
    #        push @lump_mods, $mod unless $mod ~~ @lump_mods;
    #    }
    #}

    # lump_dist
    {
        last unless $self->lump_dist;
       
es->[0] == 200;
        for my $mod (@{$res->[2]}) {
            push @lump_mods, $mod unless $mod ~~ @lump_mods;
        }
    }

    # lump_dist_and_deps
    {
        last unless $self->lump_dist_a
lude_author && @{ $self->include_author }) {
                    last DECIDE unless $rec->{author} ~~ @{ $self->include_author };
                }
                $lump = 1;
            }

          
IOD ( P/PE/PERLANCAR/IOD-0.9.12.tar.gz, PERLANCAR, 2017; MetaCPAN )
IOD/lib/IOD.pod ( view source; MetaCPAN )
 begins with C<foo>), an empty array should
be returned. When an unknown user or unknown path is given (e.g. C<!paths
/var/zzz/*> when there is no directory named C</var/zzz/>) or there is an error
du
cppAdaptive1 ( M/MF/MFJONKER/cppAdaptive1-0.01.tar.gz, MFJONKER, 2017; MetaCPAN )
cppAdaptive1/src/dlib/external/libpng/png.h ( view source; MetaCPAN )
t 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
 * d
cppAdaptive1 ( M/MF/MFJONKER/cppAdaptive1-0.01.tar.gz, MFJONKER, 2017; MetaCPAN )
cppAdaptive1/src/dlib/image_keypoint/surf_abstract.h ( view source; MetaCPAN )
he value of a 2D Gaussian function with mean 0 
              and standard deviation sig at the given (x,y) point.
    !*/

// ---------------------------------------------------------------------
File-Catalog ( P/PH/PHIZ/File-Catalog-0.003.tar.gz, PHIZ, 2017; MetaCPAN )
File-Catalog/lib/File/Catalog.pm ( view source; MetaCPAN )
|^$rep_tmp/||;
    my $rep = dirname $repfic;
    my $fic = basename $repfic;
    return 0 if $fic ~~ @exclusions_fic;
    my $archive  = ($fic =~ /\.(gz|tar|tgz|zip|bz2|tbz2|7z)$/);
    my @stat     
ntree, $md5);
            }
        }
    }

    # fin si repertoire exclu
    return $err if $fic ~~ @exclusions_rep;

    # repertoire
    $err = $self->parcourir_repertoire($entree, $volume) if S_I
WebService-IFConfig-Client ( N/NI/NICDOYE/WebService-IFConfig-Client-1.001.tar.gz, NICDOYE, 2017; MetaCPAN )
WebService-IFConfig-Client/lib/WebService/IFConfig/Client.pm ( view source; MetaCPAN )
 if no request has been made.

=cut

sub get_status {
    my $self = shift;
    my $answer;

    given ( $self->get_raw_status ) {
        $answer = undef when 0;
        $answer = 1 when 200;
       
Mustache-Simple ( C/CM/CMS/Mustache-Simple-v1.3.6.tar.gz, CMS, 2017; MetaCPAN )
Mustache-Simple/lib/Mustache/Simple.pm ( view source; MetaCPAN )
urrent tag
        $result .= $tag->{pre};                 # add in the intervening text
        given ($tag->{type})
        {
            when('!') {                         # it's a comment
       
   } elsif (scalar @ret == 1) {
			$txt = $ret[0];
		    } else {
			$txt = \@ret;
		    }
		}
		given (reftype $txt)
                {
                    when ('ARRAY') {    # an array of hashes (ho
# get the entry from the context
                }
                my $ans = '';
                given (reftype $txt)
                {
                    when ('ARRAY') {
                        $an
Perinci-Use ( P/PE/PERLANCAR/Perinci-Use-0.07.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-Use/lib/Perinci/Use.pm ( view source; MetaCPAN )
]} @e;
    }

    # create proxy functions
    for my $e (@e) {
        next if @$inc && !($e->[0] ~~ @$inc);

        # get metadata if not yet retrieved
        unless ($e->[2]) {
            $res =

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