Group
Extension

Matches 1364

Log-Shiras ( J/JA/JANDREW/Log-Shiras-v0.48.0.tar.gz, JANDREW, 2016; MetaCPAN )
Log-Shiras/lib/Log/Shiras/Test2.pm ( view source; MetaCPAN )
use Test2::Plugin::UTF8;
	use Test::Log::Shiras;
	plan( 3 );
	
	~~ Set up the Log::Shiras::Switchboard operator here ($ella_peterson) ~~
	
	my $test_class;
	ok( lives{	$test_class = Log::Shiras::Test2
rss2leafnode ( K/KR/KRYDE/rss2leafnode-79.tar.gz, KRYDE, 2017; MetaCPAN )
rss2leafnode/devel/samples.pl ( view source; MetaCPAN )
wp_response_done__check_md5 ($r2l, $resp);
  }

  #       if ($uri->scheme eq 'file' && $uri->host ~~ ['','localhost']) {
  #         my $filename = $uri->file;
  #         require Digest::file;
  #  
Scalar-Does ( T/TO/TOBYINK/Scalar-Does-0.203.tar.gz, TOBYINK, 2017; MetaCPAN )
Scalar-Does/lib/IO/Detect.pm ( view source; MetaCPAN )
l qw< blessed >;
	use overload (); no warnings 'overload';  # '~~' unavailable in Perl 5.8
	use overload
		'""'     => 'to_string',
		'~~'     => 'check',
		'=='     => 'check',
		'eq'     => 'check',
le >>

=item C<< FileName >>

=item C<< FileUri >>

=back

They can be used like this:

	if ($file ~~ FileHandle)
	{
		...
	}

Note that there does exist a L<FileHandle> package in Perl core. This
mod
Scalar-Does ( T/TO/TOBYINK/Scalar-Does-0.203.tar.gz, TOBYINK, 2017; MetaCPAN )
Scalar-Does/lib/Scalar/Does.pm ( view source; MetaCPAN )
=> q[bool],
		STRING     => q[""],
		NUMBER     => q[0+],
		REGEXP     => q[qr],
		SMARTMATCH => q[~~],
		map {; $_ => $_ } qw(
			SCALAR ARRAY HASH CODE REF GLOB
			LVALUE FORMAT IO VSTRING
		)
	);
	
) >>

Called with a single argument, tests C<< $_ >>. Yes, this works with lexical
C<< $_ >>.

  given ($object) {
     when(does ARRAY)  { ... }
     when(does HASH)   { ... }
  }

Note: in Scalar::D
Pollux ( Y/YA/YANICK/Pollux-0.0.2.tar.gz, YANICK, 2017; MetaCPAN )
Pollux/lib/Pollux/Action.pm ( view source; MetaCPAN )
->has_fields ? zip $self->fields->@*, @_ : ()
            };
            $r;
        }
    },
    '~~' => sub {
        my( $self, $other ) = @_;

        no warnings 'uninitialized';
        return $
f ' }

    # smart-matching compare the type between two actions
    print "matching" if $do_stuff ~~ $AddTodo->(); # prints 'matching'

=head1 AUTHOR

Yanick Champoux <yanick@cpan.org>

=head1 COPYRI
lexical-underscore ( T/TO/TOBYINK/lexical-underscore-0.004.tar.gz, TOBYINK, 2017; MetaCPAN )
lexical-underscore/lib/lexical/underscore.pm ( view source; MetaCPAN )
score()};
      return $var eq uc($var);
   }
   
   my $thing = 'FOO';
   my $works = 0;
   
   given ( $thing ) {
      when ( is_uppercase ) { $works++ }
   }
   
   ok($works);
   done_testing();
IUP ( K/KM/KMX/IUP-0.305.tar.gz, KMX, 2016; MetaCPAN )
IUP/lib/IUP/List.pod ( view source; MetaCPAN )
d value. For ex:

 $elem->SetAttributeId("", 3, $value) ~~ $elem->SetAttribute("3", $value)
 
 $elem->SetAttributeId("INSERTITEM", 8, $value) ~~ $elem->SetAttribute("INSERTITEM8", $value)

But these f
IUP ( K/KM/KMX/IUP-0.305.tar.gz, KMX, 2016; MetaCPAN )
IUP/lib/IUP/Tree.pod ( view source; MetaCPAN )
. For ex:

 $elem->SetAttributeId("KIND", 30, $value) ~~ $elem->SetAttribute("KIND30", $value);
 
 $elem->SetAttributeId("ADDLEAF", 10, $value) ~~ $elem->SetAttribute("ADDLEAF10", $value);

But these 
Mojolicious-Plugin-HTMLLint ( K/KO/KOORCHIK/Mojolicious-Plugin-HTMLLint-0.06.tar.gz, KOORCHIK, 2017; MetaCPAN )
Mojolicious-Plugin-HTMLLint/lib/Mojolicious/Plugin/HTMLLint.pm ( view source; MetaCPAN )
nt->errors ) {
                my $err_msg = $error->as_string();
                next if $err_msg ~~ $skip;

                $on_error->( $c, "HTMLLint:" . $error->as_string );
            }
        
Pollux ( Y/YA/YANICK/Pollux-0.0.2.tar.gz, YANICK, 2017; MetaCPAN )
Pollux/lib/Pollux.pm ( view source; MetaCPAN )
   given ( $action ) {
            return $action->{filter} when $SetVisibilityFilter;

            default { return $state }
        }
    }

    sub todos($action=undef,$state=[]) {
        given( $
   given ( $action ) {
            return $action->{filter} when $SetVisibilityFilter;

            default { return $state }
        }
    }

    sub todos($action=undef,$state=[]) {
        given( $
OpusVL-AppKit ( N/NE/NEWELLC/OpusVL-AppKit-2.29.tar.gz, NEWELLC, 2017; MetaCPAN )
OpusVL-AppKit/lib/OpusVL/AppKit/Plugin/AppKit.pm ( view source; MetaCPAN )
llowed) = @_;
    my $allow = $c->user && $c->check_any_user_role( @$allowed )
        || 'PUBLIC' ~~ @$allowed;
    return $allow;
}


sub who_can_access
{   
    my $c               = shift;
    my 
Dist-Metadata ( R/RW/RWSTAUNER/Dist-Metadata-0.927.tar.gz, RWSTAUNER, 2017; MetaCPAN )
Dist-Metadata/lib/Dist/Metadata/Struct.pm ( view source; MetaCPAN )
uld be consistent with Dir
  my $content = $self->{files}{ $self->full_path($file) };

  # 5.10: given(ref($content))

  if( my $ref = ref $content ){
    local $/; # do this here because of perl bug 
autobox-Core ( S/SW/SWALTERS/autobox-Core-1.33.tar.gz, SWALTERS, 2016; MetaCPAN )
autobox-Core/lib/autobox/Core.pm ( view source; MetaCPAN )
i had this in it:

#sub grep {
#    my ( $array, $filter ) = @_;
#    my @result = CORE::grep { $_ ~~ $filter } @$array;
#    return wantarray ? @result : \@result;
#}

sub grep {
    my $arr = CORE::
Wrangler ( C/CL/CLIPLAND/Wrangler-2.15.tar.gz, CLIPLAND, 2015; MetaCPAN )
Wrangler/lib/Wrangler/FileSystem/Linux.pm ( view source; MetaCPAN )
t,@fileparse,$type,$type_human);
	if(!$wishlist || 'Filesystem' ~~ @$wishlist || "@$wishlist" =~ $regex_filesystem_contains || 'MIME' ~~ @$wishlist){
		# print STDOUT "   ** properties:  -asks for Fil
ishlist is given (so getting xattr is the default), or in case $wishlist is given, skip when xattr is omitted
	if(!$wishlist || 'Extended Attributes' ~~ @$wishlist || 'Filesystem::Xattr' ~~ @$wishlist
HTML-Formatter ( N/NI/NIGELM/HTML-Formatter-2.16.tar.gz, NIGELM, 2016; MetaCPAN )
HTML-Formatter/lib/HTML/FormatPS.pm ( view source; MetaCPAN )
ntscale};
}

# Determine the current font and set font-related members.
# If $plain_with_size is given (a number), use a plain font
# of that size.  Otherwise, use the font specified by the
# HTML con
HTML-Formatter ( N/NI/NIGELM/HTML-Formatter-2.16.tar.gz, NIGELM, 2016; MetaCPAN )
HTML-Formatter/lib/HTML/Formatter.pm ( view source; MetaCPAN )
consisting of the result of using the given class to format the
given HTML file according to the given (optional) options. Internally it calls
C<< SomeClass->new( ... )->format( ... ) >> on a new HTML
nsisting of the result of using the given class to format the
given HTML source according to the given (optional) options. Internally it
calls C<< SomeClass->new( ... )->format( ... ) >> on a new HTML
Class-Declare ( I/IB/IBB/Class-Declare-0.20.tar.gz, IBB, 2016; MetaCPAN )
Class-Declare/Declare.pm ( view source; MetaCPAN )
e second example,
only the the single argument I<name> will be recognized.

If I<default> is not given (or is undef), then B<arguments()> will simply
flatten the argument list into a hash and assume t
Class-Multimethods ( D/DC/DCONWAY/Class-Multimethods-1.701.tar.gz, DCONWAY, 2016; MetaCPAN )
Class-Multimethods/lib/Class/Multimethods.pm ( view source; MetaCPAN )
n", and Class::Multimethods does it like this:

=over 4

=item 1.

If the types of the arguments given (as determined by C<ref>) exactly
match the types specified in any variant of the multimethod, th
perl5i ( M/MS/MSCHWERN/perl5i-v2.13.2.tar.gz, MSCHWERN, 2016; MetaCPAN )
perl5i/lib/perl5i/2/ARRAY.pm ( view source; MetaCPAN )
oach as in grep().
    if ( ref $filter eq 'Regexp' ) {
        return List::Util::first( sub { $_ ~~ $filter }, @$self );
    }

    return List::Util::first( sub { $filter->() }, @$self );

}

metho
 {
    return @$self[int rand @$self];
}


method grep($filter) {
    my @result = CORE::grep { $_ ~~ $filter } @$self;

    return wantarray ? @result : \@result;
}

method popn($times) {
    Carp::F
perl5i ( M/MS/MSCHWERN/perl5i-v2.13.2.tar.gz, MSCHWERN, 2016; MetaCPAN )
perl5i/lib/perl5i/1/Meta/Instance.pm ( view source; MetaCPAN )
 = @_;

    my $algorithms = [qw(sha1 md5)];
    $args{algorithm} //= 'sha1';
    $args{algorithm} ~~ $algorithms or
      Carp::croak("algorithm must be @{[ $algorithms->join(' or ' ) ]}");

    my $
:MD5" };

    my $format = [qw(hex base64 binary)];
    $args{format} //= 'hex';
    $args{format} ~~ $format or
      Carp::croak("format must be @{[ $format->join(' or ') ]}");

    my %prefix = ( h

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