Group
Extension

Matches 1309

Slurm-Sshare ( P/PA/PAYERLE/Slurm-Sshare-1.2.2.tar.gz, PAYERLE, 2016; MetaCPAN )
Slurm-Sshare/lib/Slurm/Sshare.pm ( view source; MetaCPAN )

#List values can be either list refs or CSV strings.  For users, if the single
#string 'ALL' is given (not part of a list), then all users will be listed.
#
#If nopartinfo flag is set, the sshare com
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{! @ $ % ^ & * - _ + =
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
zxid ( S/SA/SAMPO/zxid-1.42.tgz, SAMPO, 2016; MetaCPAN )
zxid/c/zx-cdm-data.h ( view source; MetaCPAN )
_NEW_cdm_GIVEN(c, father) (struct zx_cdm_GIVEN_s*)zx_new_elem((c),(father),zx_cdm_GIVEN_ELEM)
int zx_DEC_ATTR_cdm_GIVEN(struct zx_ctx* c, struct zx_cdm_GIVEN_s* x);
int zx_DEC_ELEM_cdm_GIVEN(struct zx
 zx_DEEP_CLONE_cdm_GIVEN(struct zx_ctx* c, struct zx_cdm_GIVEN_s* x, int dup_strs);
void zx_DUP_STRS_cdm_GIVEN(struct zx_ctx* c, struct zx_cdm_GIVEN_s* x);
int zx_WALK_SO_cdm_GIVEN(struct zx_ctx* c, s
m_GIVEN_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_cdm_GIVEN(struct zx_ctx* c, struct zx_cdm_GIVEN_s* x, void* ctx, int (*callback)(struct zx_node_s* node, vo
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
Perl6-Pugs ( A/AU/AUDREYT/Perl6-Pugs-6.2.13.tar.gz, AUDREYT, 2006; MetaCPAN )
Perl6-Pugs/misc/Parser-Mini/parser.pl ( view source; MetaCPAN )
";
}

sub token {
    state $empty_line;
    loop {
        if @tokens {
            if @tokens[0] ~~ '#' {
                # skip comment
                @tokens = ();
                next;
         
$line_number++;                
        # print "# $line_number: $line\n";
        @tokens = $line ~~ m:g:perl5 {(\w+|\s+|.+?)};   # \b doesn't work ???
        @tokens = @tokens.map:{ ~$_ };  # force
   }
}

sub optional_space {
    my $word;
    loop {
        $word = token;
        next if $word ~~ m:perl5/^\s/;
        unshift @tokens, $word;
        return;
    }
}

sub sentence {
    print ta
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
String-PictureFormat ( T/TU/TURNERJW/String-PictureFormat-1.11.tar.gz, TURNERJW, 2016; MetaCPAN )
String-PictureFormat/lib/String/PictureFormat.pm ( view source; MetaCPAN )
n zero.  For "wrap" formats, it is the no. of characters in a row.
If a max. length specifier is given (ie. "@50:..."), then this value is returned.

[2] - The justification (either "<", "|", ">", or 
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
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.
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.
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
Music-Abc-DT ( B/BM/BMA/Music-Abc-DT-0.01.tar.gz, BMA, 2013; MetaCPAN )
Music-Abc-DT/lib/Music/Abc/DT.pm ( view source; MetaCPAN )
out of grace note state
    $brhythm  = $gbr;
    $new_abc .= '}';    # close grace notes
  }

  given ($sym->{type}) { # symbol type
    when (ABC_T_INFO               )  { ($new_abc, $nl_new) = _inf
new_abc;
}


# -- change length when broken rhythm --
sub _broken_rhythm {
  my $len = shift;

  given ($brhythm) {
    when (-3) { $len *= 8; }
    when (-2) { $len *= 4; }
    when (-1) { $len *= 2;
  if ($all_tie) {
    if ( $all_tie & SL_DOTTED ) { $new_abc .= q{.} }
    $new_abc .= q{-};
    given ($all_tie) {
      when (SL_ABOVE) { $new_abc .= q{'}; }
      when (SL_BELOW) { $new_abc .= q{,}
Mac-iPhoto-Exif ( M/MA/MAROS/Mac-iPhoto-Exif-1.01.tar.gz, MAROS, 2014; MetaCPAN )
Mac-iPhoto-Exif/lib/Mac/iPhoto/Exif.pm ( view source; MetaCPAN )
= {};
    my $count = 0;
    foreach my $top_node ($doc->findnodes('/plist/dict/key')) {
        given ($top_node->textContent) {
            when ('List of Faces') {
                my $personlist_no
ODES:
                foreach my $image_node ($imagelist_node->childNodes) {
                    given ($image_node->nodeName) {
                        when ('key') {
                            $key
;
                                        
                                        unless ($person ~~ \@persons_list_final) {
                                            push(@persons_list_final,$pers
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
Class-Mixer ( J/JW/JWILLIAMS/Class-Mixer-0.54.tar.gz, JWILLIAMS, 2015; MetaCPAN )
Class-Mixer/lib/Class/Mixer.pm ( view source; MetaCPAN )
<use base>
instead.  Which you can, and Class::Mixer will notice and use it.

If no rule type is given (e.g. C<use Class::Mixer 'BaseClass';> )
then the before rule is assumed.

=head2 B<after>

The '
FAST ( D/DH/DHARD/FAST-1.06.tar.gz, DHARD, 2015; MetaCPAN )
FAST/lib/FAST/List/Gen/Cookbook.pm ( view source; MetaCPAN )
hem directly.

    gen {$_**2} 100             ~~  gen {$_**2} range 0, 100

    my @names = qw/bob alice eve/;
    gen {"hello $_!"} \@names   ~~  gen {"hello $_!"} makegen @names

those were 
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, [ %{ $_ } ] }
           

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