Group
Extension

Matches 1309

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
Crypt-PKCS11-Easy ( I/IO/IOANR/Crypt-PKCS11-Easy-0.180080.tar.gz, IOANR, 2018; MetaCPAN )
Crypt-PKCS11-Easy/lib/Crypt/PKCS11/Easy.pm ( view source; MetaCPAN )
 without a label';
    }

    $self->login;

    my $tmpl = Crypt::PKCS11::Attributes->new;

    given ($self->function) {
        return $self->get_signing_key($self->key) when 'sign';
        return
lots, $slot;
    }

    return \@slots;
}


sub login {
    my $self = shift;

    my $pin;

    given (ref $self->pin) {
        when ('CODE') {
            $log->debug('Getting PIN from coderef');
 
mech->set_mechanism($const->());

    # does this mechanism need parameters?
    my $params;
    given ($args->{mech}) {
        when (/^(SHA(\d+))_RSA_PKCS_PSS$/) {
            $params = $self->_get_
RDF-Trine ( G/GW/GWILLIAMS/RDF-Trine-1.019.tar.gz, GWILLIAMS, 2018; MetaCPAN )
RDF-Trine/lib/RDF/Trine/Model/Dataset.pm ( view source; MetaCPAN )
n triple semantics (the graph union of triples from all the named
graphs). If four arguments are given (even if C<< $context >> is undef),
statements will be matched based on quad semantics (the union
RDF-Trine ( G/GW/GWILLIAMS/RDF-Trine-1.019.tar.gz, GWILLIAMS, 2018; MetaCPAN )
RDF-Trine/lib/RDF/Trine/Model.pm ( view source; MetaCPAN )
n triple semantics (the graph union of triples from all the named
graphs). If four arguments are given (even if C<< $context >> is undef),
statements will be matched based on quad semantics (the union
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
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;
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;
            }

          
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
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;
        }
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
makepp ( P/PF/PFEIFFER/makepp-2.0.99.2.tgz, PFEIFFER, 2017; 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
makepp ( P/PF/PFEIFFER/makepp-2.0.99.2.tgz, PFEIFFER, 2017; 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
makepp ( P/PF/PFEIFFER/makepp-2.0.99.2.tgz, HOLT, 2017; 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
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 
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
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:							  '
Perl6-Pugs ( A/AU/AUDREYT/Perl6-Pugs-6.2.13.tar.gz, AUDREYT, 2006; MetaCPAN )
Perl6-Pugs/ext/Perl6-Grammar/t/basic.t ( view source; MetaCPAN )
lan 25;

if !eval('("a" ~~ /a/)') {
  skip_rest "skipped tests - rules support appears to be missing";
} else {

# Testing the parsing of verious forms of numbers

is(?("1"  ~~ /^<Int>$/),Bool::True,"
 ~~ /^<Int>$/),Bool::True,"-1 is parsed as an integer");

is(?("1."  ~~ /^<Rat>$/),Bool::True,"1. is parsed as a Rat");
is(?("-1."  ~~ /^<Rat>$/),Bool::True,"-1. is parsed as a Rat");

is(?("0.1"  ~~ 
"  ~~ /^<Rat>$/),Bool::True,"0.1 is parsed as a Rat");

is(?(".1"  ~~ /^<Rat>$/),Bool::True,".1 is parsed as a Rat");
is(?("-.1"  ~~ /^<Rat>$/),Bool::True,".1 is parsed as a Rat");

is(?("10.01"  ~~ /
Perl6-Pugs ( A/AU/AUDREYT/Perl6-Pugs-6.2.13.tar.gz, AUDREYT, 2006; MetaCPAN )
Perl6-Pugs/ext/File-Spec/lib/File/Spec/Win32.pm ( view source; MetaCPAN )
@dirs = split("/", $directories);
    @dirs = @dirs.map:{ split("\\", $_) };
    if (($directories ~~ rx:P5"[\\/]\Z(?!\n)")) {
        @dirs[@dirs - 1] = '';
    }
    @dirs = map {~$_ }, @dirs;
    r
($nofile) {
        $path ~~ rx:P5"^((?:[a-zA-Z]:|(?:\\\\|//)[^\\/]+[\\/][^\\/]+)?)(.*)";
        $volume    = ~$0;
        $directory = ~$1;
    }
    else {
        $path ~~ rx:P5"^((?:[a-zA-Z]:|(?:
ew_path;
    my $i = 0;
    loop ($i = 0; $i < @path; $i++) {
        @path[$i] ~~ s:P5:g"/"\\";
        if (@path[$i] ~~ m:P5"\\$") {
            push(@new_path, @path[$i]);
        }
        else {
DhMakePerl ( D/DA/DAM/DhMakePerl-0.96.tar.gz, DAM, 2017; MetaCPAN )
DhMakePerl/lib/DhMakePerl/Config.pm ( view source; MetaCPAN )
pts, @OPTIONS )
        or die "Error parsing command-line options\n";

    # "If no argument is given (but the switch is specified - not specifying
    # the switch will include everything), it defau
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

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