Group
Extension

Matches 1357

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 {
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"  ~~ /
Crypt-HSXKPasswd ( B/BA/BARTB/Crypt-HSXKPasswd-v3.6.tar.gz, BARTB, 2015; MetaCPAN )
Crypt-HSXKPasswd/lib/Crypt/HSXKPasswd.pm ( view source; MetaCPAN )
> 0,
    }

=item *

C<DEFAULT> - the default configuration. 

Sample Password:

    ~~12:settle:SUCCEED:summer:48~~
    
Preset Definition:

    {
        symbol_alphabet => [qw{! @ $ % ^ & * - _ + =
Ossec-Log-Parse ( U/UN/UNUSEDPHD/Ossec-Log-Parse-0.1.6.tar.gz, UNUSEDPHD, 2015; MetaCPAN )
Ossec-Log-Parse/lib/Ossec/Log/Parse.pod ( view source; MetaCPAN )
lue })>

Pass a hashref of options to the constructor for Ossec::Log::Parse. Options that
can be given (in descending order of importance):

=over 4

=item B<fh>

Filehandle to be used as data source.
Ossec-Log-Parse ( U/UN/UNUSEDPHD/Ossec-Log-Parse-0.1.6.tar.gz, UNUSEDPHD, 2015; MetaCPAN )
Ossec-Log-Parse/README.pod ( view source; MetaCPAN )
lue })>

Pass a hashref of options to the constructor for Ossec::Log::Parse. Options that
can be given (in descending order of importance):

=over 4

=item B<fh>

Filehandle to be used as data source.
File-DesktopEntry ( M/MI/MICHIELB/File-DesktopEntry-0.22.tar.gz, MICHIELB, 2015; MetaCPAN )
File-DesktopEntry/lib/File/DesktopEntry.pm ( view source; MetaCPAN )
T)>

=item C<new(NAME)>

Constructor. FILE, NAME or TEXT are optional arguments.

When a name is given (a string without 'C</>', 'C<\>' or 'C<.>') a lookup is
done using File::BaseDir. If the file fou
DR-Tarantool ( U/UN/UNERA/DR-Tarantool-0.44.tar.gz, UNERA, 2014; MetaCPAN )
DR-Tarantool/st/Check/OneHash.pm ( view source; MetaCPAN )
ne_hash => [ $_->id ]);
            if ($f) {
                next if $f->id ~~ $_->id;
                next if $f->value ~~ $_->value;
            }
            error 1, 'select exists tuple';
      
id ], TNT_FLAG_RETURN);
            if ($f) {
                next if $f->id ~~ $_->id;
                next if $f->value ~~ $_->value;
            }
            error 1, 'delete exists tuple';
      
DR-Tarantool ( U/UN/UNERA/DR-Tarantool-0.44.tar.gz, UNERA, 2014; MetaCPAN )
DR-Tarantool/st/Check/OneTree.pm ( view source; MetaCPAN )
ne_tree => [ $_->id ]);
            if ($f) {
                next if $f->id ~~ $_->id;
                next if $f->value ~~ $_->value;
            }
            error 1, 'select exists tuple';
      
id ], TNT_FLAG_RETURN);
            if ($f) {
                next if $f->id ~~ $_->id;
                next if $f->value ~~ $_->value;
            }
            error 1, 'delete exists tuple';
      
Math-HexGrid ( D/DF/DFARRELL/Math-HexGrid-0.03.tar.gz, DFARRELL, 2015; MetaCPAN )
Math-HexGrid/lib/Math/HexGrid/Hex.pm ( view source; MetaCPAN )
ct to another.

=head2 hex_neighbor ($direction)

Returns a new neighboring hex in the direction given (0-5).

=head1 AUTHOR

David Farrell <dfarrell@cpan.org>

=head1 COPYRIGHT AND LICENSE

This soft
Photography-EV ( P/PL/PLICEASE/Photography-EV-0.07.tar.gz, PLICEASE, 2015; MetaCPAN )
Photography-EV/lib/Photography/EV.pm ( view source; MetaCPAN )
ult returns the closest 
full stop aperture between 1 and 64.

If the optional third argument is given (a reference to a list of
possible aperture values), then the returned aperture will be
the close
the closest
full stop between 1920s (32 minutes) and 1/8000s.

If the optional third argument is given (a reference to a list
of possible shutter speeds), then the returned shutter speed
will be the c
Array-CompareAndFilter ( D/DA/DADERUS/Array-CompareAndFilter-v1.100.tar.gz, DADERUS, 2014; MetaCPAN )
Array-CompareAndFilter/lib/Array/CompareAndFilter.pm ( view source; MetaCPAN )
    Test scripts modifed, external modules eleminated.
#       compareOrder() modified, it's using ~~ smart-match operator.
#       Documentation updated.
# 2012-06-25 v1.0.0   H. Klausing
#       Ini
 avoid Argument "?undef?" isn't numeric in smart match

        if (not($item ~~ @exclude)) {
            if (not $item ~~ @resultList) {
                push(@resultList, ($item ne UNDEF) ? $item : u
   my $item = $arr_ref->[$i] // UNDEF;
                no warnings;

                if (not($item ~~ @outList)) {
                    unshift(@outList, $item);
                }
                use w
Functional-Types ( A/AN/ANDARA/Functional-Types-v0.0.1.tar.gz, ANDARA, 2015; MetaCPAN )
Functional-Types/lib/Functional/Types.pm ( view source; MetaCPAN )
 [@_];
     my $elt_type= $tc->[1]->[0];
     if (!isprim($elt_type)) {
         if (not ($tc->[1] ~~ $v->[0]->{Type}->[1]) ) {
              die "Type error in Array type check:";
         }
     }
 
ore, we can do something similar to pattern matching by using a variant() function like this:

  given(variant $t) {
	when (Just) : untype $t;
	when (Nothing) : <do something else>
  }
  
So variant()
'Type' => $a->{Type}->[2]};    
}
sub unshift {
    (my $a, my $v) =@_;
            if ($v->{Type} ~~ $a->{Type}[2]) {           

    unshift @{$a->{Val}}, $v->{Val};
     } else {
            die "T
Acme-Schlong ( D/DB/DBR/Acme-Schlong-0.001.tar.gz, DBR, 2013; MetaCPAN )
Acme-Schlong/lib/Acme/Schlong.pm ( view source; MetaCPAN )
O "Your system is Windows. I won't even bother calculating your schlong-size, sorry!" unless! ($^O ~~ /Win/ ... /Win/) # Just for fun (again)
    }

    sub true  { 1 }
    sub false { 0 }

    # The 
 0 }
    method _build_using_tmux             { $ENV{TERM} ~~ 'tmux'       ? 1 : 0 }
    method _build_using_screen           { $ENV{TERM} ~~ 'screen'     ? 1 : 0 }
    method _build_perl_version     
           { $self->shell ~~ 'bash' || 0 }
    method _build_using_zsh              { $self->shell ~~ 'zsh'  || 0 }
    method _build_using_ksh              { $self->shell ~~ 'ksh'  || 0 }
    method 
App-Rssfilter ( D/DG/DGHOLZ/App-Rssfilter-0.08-TRIAL.tar.gz, DGHOLZ, 2015; MetaCPAN )
App-Rssfilter/lib/App/Rssfilter/Rule.pm ( view source; MetaCPAN )
nice_name_for( $attr, $type ) {
    use feature 'switch';
    use experimental 'smartmatch';
    given( ref $attr ) {
        when( 'CODE' ) { return "unnamed RSS ${type}"; }
        when( q{}    ) { 
SS items" if not defined $attr;
    use feature 'switch';
    use experimental 'smartmatch';
    given( ref $attr ) {
        when( 'CODE' ) {
            return $attr;
        }
        when( q{} ) {
Switch-Reftype ( P/PR/PRAMAKERS/Switch-Reftype-0.001.tar.gz, PRAMAKERS, 2015; MetaCPAN )
Switch-Reftype/lib/Switch/Reftype.pm ( view source; MetaCPAN )
l's
C<reftype $reference> to determine which key to look for.

If no suitable key/value pair was given (e.g. C<$reference> is an C<ARRAY>
reference but no C<< ARRAY => sub {...} >> pair exists), C<swi
App-Rssfilter ( D/DG/DGHOLZ/App-Rssfilter-0.08-TRIAL.tar.gz, DGHOLZ, 2015; MetaCPAN )
App-Rssfilter/lib/App/Rssfilter/FromHash.pm ( view source; MetaCPAN )
   while( @list ) {
        use experimental 'smartmatch';
        use feature 'switch';
        given( shift @list ) {
            when( 'HASH'  eq ref $_ ) { push @results, [ %{ $_ } ] }
           
Net-DirectConnect ( P/PR/PRO/Net-DirectConnect-0.14.tar.gz, PRO, 2014; MetaCPAN )
Net-DirectConnect/lib/Net/DirectConnect/filelist.pm ( view source; MetaCPAN )
y scaned', $indb->{size}),
            $filelist_line->( { %$f, %$indb } ), next, if $indb->{size} ~~ $f->{size};
            #$db->select('filelist', {path=>$f->{path},file=>$f->{file}, });
         
$curdir) = m{^Directory Name="([^"]+)">}i ) {    #"mcedit
        $dir .= ( ( !length $dir and $^O ~~ [ 'MSWin32', 'cygwin' ] ) ? () : '/' ) . $curdir;
        #$self->log 'now in', $dir;
        #$se
bz2',
    );
    psmisc::unlock('sharescan');
    #$_[0]->( $sharesize, $sharefiles ) if ref $_[0] ~~ 'CODE';
    #( $self->{share_size} , $self->{share_files} ) = ( $sharesize, $sharefiles );
    $sh
HTML-Format ( N/NI/NIGELM/HTML-Format-2.12.tar.gz, NIGELM, 2015; MetaCPAN )
HTML-Format/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-Format ( N/NI/NIGELM/HTML-Format-2.12.tar.gz, NIGELM, 2015; MetaCPAN )
HTML-Format/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
Ruby-VersionManager ( M/MK/MKRULL/Ruby-VersionManager-0.004004.tar.gz, MKRULL, 2014; MetaCPAN )
Ruby-VersionManager/lib/Ruby/VersionManager.pm ( view source; MetaCPAN )
= $ua->request($req);

		if ( $res->is_success ) {
			$rubies->{$version} = [];
			for ( grep { $_ ~~ /ruby.*\.tar\.bz2/ } split '\n', $res->content ) {
				my $at = $self->archive_type;
				( my $rub
nstalled;

		my $installed = $self->installed_rubies->{$major_version};

		if ($self->ruby_version ~~ @$installed){
			$self->gemset($gemset);
			$self->_setup_environment;

			$self->_sub_shell;
		}
nstalled;

		my $installed = $self->installed_rubies->{$major_version};

		if ($self->ruby_version ~~ @$installed){
			my $dir = File::Spec->catdir($self->rootdir, 'gemsets', $self->major_version, $se

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