Group
Extension

Matches 1364

Padre-Plugin-Cookbook ( B/BO/BOWTIE/Padre-Plugin-Cookbook-0.24.tar.gz, BOWTIE, 2013; MetaCPAN )
Padre-Plugin-Cookbook/lib/Padre/Plugin/Cookbook/Recipe02/Main.pm ( view source; MetaCPAN )
 = shift;
	my $main   = $self->main;
	my $config = $main->config;
	my $output = $main->output;

	given ( $self->user_name->GetStringSelection() ) {
		when ('nick') {
			$self->name_label->SetLabel( 'u
Padre-Plugin-Cookbook ( B/BO/BOWTIE/Padre-Plugin-Cookbook-0.24.tar.gz, BOWTIE, 2013; MetaCPAN )
Padre-Plugin-Cookbook/lib/Padre/Plugin/Cookbook/Recipe04/Main.pm ( view source; MetaCPAN )

#######
# Event Handler Button Warning Clicked
#######
sub clean_clicked {
	my $self = shift;

	given ( $self->relation_name ) {

		when ('DebugBreakpoints') {
			clean_debug_breakpoints_files($self)
#####
# Composed Method
# _display_relation
#######
sub _display_relation {
	my $self = shift;

	given ( $self->relation_name ) {
		when ('DebugBreakpoints') {
			$self->clean->Enable;
			_display_any
App-OS-Detect-MachineCores ( D/DB/DBR/App-OS-Detect-MachineCores-0.038.tar.gz, DBR, 2012; MetaCPAN )
App-OS-Detect-MachineCores/lib/App/OS/Detect/MachineCores.pm ( view source; MetaCPAN )
er!" unless $_[0] ~~ [0..100] },
    lazy    => 1,
    builder => '_build_cores',
);

option add_one => (
    is      => 'rw',
    isa     => sub { die "Invalid bool!" unless $_[0] ~~ [ 0 .. 1 ] },
  
 q{add one to the number of cores (useful in scripts)},
);

sub _build_cores {
    do { 
        given ($_[0]->os) {
            when ('darwin') { $_ = `sysctl hw.ncpu | awk '{print \$2}'`;     chomp;
Pod-Elemental-MakeSelector ( C/CJ/CJM/Pod-Elemental-MakeSelector-0.02.tar.gz, CJM, 2012; MetaCPAN )
Pod-Elemental-MakeSelector/lib/Pod/Elemental/MakeSelector.pm ( view source; MetaCPAN )
 {
    my $name = add_value($valuesR, shift @$inputR);
    push @expressions, "\$para->format_name ~~ $name";
  } # end if specific format(s) listed

  join_expressions(and => \@expressions);
} # end 
 {
      my $name = add_value($valuesR, shift @$inputR);
      push @expressions, "\$para->command ~~ $name";
    } # end if specific command(s) listed

    join_expressions(and => \@expressions);
  }
                        shift @$inputR // croak "-content requires a value");
    "\$para->content ~~ $name";
  }, #end -content

  -region       => \&region_action,
  -podregion    => sub { region_ac
Data-Password-BasicCheck ( B/BR/BRONTO/Data-Password-BasicCheck-2.03.tar.gz, BRONTO, 2013; MetaCPAN )
Data-Password-BasicCheck/BasicCheck.pm ( view source; MetaCPAN )
mbols, the password, its reverse and
all possible rotations don't match any personal information given
(name, surname, city, username)

=back


=head1 METHODS

=head2 new

creates a password checker o
Method-Signatures ( B/BA/BAREFOOT/Method-Signatures-20121201.tar.gz, BAREFOOT, 2012; MetaCPAN )
Method-Signatures/lib/Method/Signatures.pm ( view source; MetaCPAN )
{
            $rhs = "!$check_exists ? ($sig->{default}) : do{ no warnings; my \$arg = $rhs; \$arg ~~ ($sig->{default_when}) ? ($sig->{default}) : \$arg }";
        }
    }

    # Handle simple defaul
, $class, $sig->{var}, $sig->{var}, $constraint;
            push @code, "$error unless grep { \$_ ~~ $constraint_impl } $sig->{var}; ";
        }
    }

    return @code;
}

# A hook for extension au
DBIx-Class-LookupColumn ( R/RU/RUBATTEL/DBIx-Class-LookupColumn-0.10.tar.gz, RUBATTEL, 2012; MetaCPAN )
DBIx-Class-LookupColumn/lib/DBIx/Class/LookupColumn.pm ( view source; MetaCPAN )
ACH loop !
 my $played_warlock_classical =  'Warlock' ~~ @roles_played_classical; # assigns boolean 
 # my $played_warlock_classical =  'Warloc' ~~ @roles_played_classical; # assigns an empty string, 
Data-SimplePath ( S/ST/STG/Data-SimplePath-0.005.tar.gz, STG, 2013; MetaCPAN )
Data-SimplePath/lib/Data/SimplePath.pm ( view source; MetaCPAN )
>) these methods will return the current value of
the option, else the option will be set to the given (scalar) value and the old setting will be
returned.

=cut

sub auto_array   { return shift -> _c
Ambrosia ( K/KN/KNM/Ambrosia-0.010.tar.gz, KNM, 2012; MetaCPAN )
Ambrosia/lib/Ambrosia/Meta.pm ( view source; MetaCPAN )
  unless ( grep { $_caller eq $_ }  @__FRIENDS__ );
                            #unless ( $_caller ~~ @__FRIENDS__ );
                    }
                    $_[0]->[1]->{$fn};
                };
  
less ( grep { $_caller eq $_ }  @__FRIENDS__ );
                                #unless ( $_caller ~~ @__FRIENDS__ );
                        }
                        $_[0]->[0]->[$p];
              
less ( grep { $_caller eq $_ }  @__FRIENDS__ );
                                #unless ( $_caller ~~ @__FRIENDS__ );
                        }
                        $_[0]->[1]->{$fn};
             
Web-Simple ( A/AP/APEIRON/Web-Simple-0.017.tar.gz, APEIRON, 2012; MetaCPAN )
Web-Simple/lib/Web/Simple/AntiquatedPerl.pod ( view source; MetaCPAN )
Moose
  DBIx::Class
  ----
  Modern
  Perl?
  ----
  perl5
  v10
  ----
    given ($x) {
      when (3) {
    ...
  ----
  ~~
  ----
  what's the
  opposite?
  ----
  Old
  Perl?
  ----
  if it 
  wor
(1)
  ----
  ~~
  ----
    ~~@x
  ----
    ~(~(@x))
  ----
  bitwise
  negation
  ----
  so ...
  ----
    ~@x
    ->
    ~(scalar @x)
  ----
    ~~$number
    ->
    $number
  ----
    ~~@x
    ->
  
-MMoose -e'print ~~keys %INC'
    84
  ----
  overload::constant
  ----
  lets you
  affect
  parsing
  ----
  numbers
  strings
  ----
  q qq qr
  t s qw
  ----
  i18n.pm
  ----
  ~~"$foo bar"
  loc(
autodie ( P/PJ/PJF/autodie-2.13.tar.gz, PJF, 2012; MetaCPAN )
autodie/lib/Fatal.pm ( view source; MetaCPAN )
       };
    }
    elsif ( PERL510 and $hints ) {
        $code .= qq{
            if ( \@results ~~ \$hints->{list} ) { $die };
        };
    }
    elsif ( $hints ) {
        croak sprintf(ERROR_58
  };

    }
    elsif (PERL510 and $hints) {
        return $code . qq{

            if ( \$retval ~~ \$hints->{scalar} ) { $die };
            $retval_action
            return \$retval;
        };
 
Rex-WebUI ( M/MI/MIKET/Rex-WebUI-0.01.tar.gz, MIKET, 2013; MetaCPAN )
Rex-WebUI/lib/Rex/WebUI/Model/RexInterface.pm ( view source; MetaCPAN )

		foreach my $server (@$task_servers) {
			push @$servers, $server->{name} unless $server->{name} ~~ $servers;
		}
	}

	# expand server list into hashrefs, adding info from db if available
	# TODO: a
PulseAudio ( E/EC/ECARROLL/PulseAudio-0.07.tar.gz, ECARROLL, 2013; MetaCPAN )
PulseAudio/lib/PulseAudio/Types.pm ( view source; MetaCPAN )
ith the letters 'f' or 'n'. Case is
## ignored.
coerce PA_Bool
	, from Str
	, via {
		my $arg;
		given ( $_ ) {
			when ( qr/on/i )    { $arg = 1 }
			when ( qr/off/i )   { $arg = 0 }
			when ( qr/^[t
;
	}
;

## Furthers the volume functionality
coerce PA_Volume
	, from Str , via {
		my $ratio;
		given ( $_ ) {
			when ( 'MAX' )  { $ratio = FULL_VOLUME }
			when ( 'HALF' ) { $ratio = 0.50 * FULL_VO
DataCube ( D/DA/DAVEGMX/DataCube.tgz, DAVEGMX, 2012; MetaCPAN )
DataCube/lib/DataCube/Cube/Style/HTML/CSS.pm ( view source; MetaCPAN )
 C:\WINDOWS\SoftwareDistribution\SelfUpdate\WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.2.6001.788.mum</td> </tr> 
 <tr> <td class="foot" align="center">5</td> <td class="foot" align="c
C:\WINDOWS\SoftwareDistribution\SelfUpdate\WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.2.6001.788.mum</td> </tr> 
 <tr> <td class="foot" align="center">4</td> <td class="foot" align="c
Tapper-MCP ( A/AM/AMD/Tapper-MCP-4.1.0.tar.gz, AMD, 2012; MetaCPAN )
Tapper-MCP/lib/Tapper/MCP/Config.pm ( view source; MetaCPAN )
     return $config;
}



sub parse_virt_host
{
        my ($self, $config, $virt) = @_;
        given (lc($virt->{host}->{root}->{precondition_type})) {
                when ('image') {
             
ed a raw image to copy PRC stuff to
                no warnings 'uninitialized';
                given($guest->{root}{mounttype})
                {
                        when ('raw') {
             
 path not from user, Safe.pm deactivated for debug and speed
        my $producers = $precondition ~~ dpath '//*[key eq "precondition_type" and lc(value) eq "produce"]/../..';
        foreach my $prod
FusqlFS ( K/KS/KSTEPME/FusqlFS-0.009.tar.gz, KSTEPME, 2013; MetaCPAN )
FusqlFS/lib/FusqlFS/Entry.pm ( view source; MetaCPAN )
$entry = $pkg->get(@names);
        }
        elsif (my $ref = ref $entry)
        {
            given ($ref)
            {
                when ('HASH')  { $entry = defined $entry->{$p}? $entry->{$p}
ntry;
    $tailref = ref $tailref eq 'HASH'? $tailref->{$_}: $tailref->[$_] foreach (@tail);
    given (ref $tailref)
    {
        when ('HASH')  { if (defined $data) { $tailref->{$tail} = $data } el
FusqlFS ( K/KS/KSTEPME/FusqlFS-0.009.tar.gz, KSTEPME, 2013; MetaCPAN )
FusqlFS/lib/FusqlFS/Artifact/Table/Lazy.pm ( view source; MetaCPAN )
4 ] }, c => \"string" };

=end testing
=cut
sub clone
{
    my $ref = $_[0];
    my $result;
    given (ref $ref)
    {
        when ('HASH')   { $result = { map { $_ => clone($ref->{$_}) } keys %$ref
marc-mir-template ( M/MA/MARCC/marc-mir-template-0.1.tar.gz, MARCC, 2013; MetaCPAN )
marc-mir-template/lib/MARC/MIR/Template.pm ( view source; MetaCPAN )
ptions ) = @_;
    my $template = [ $spec ];
    while ( my ( $k, $v ) = each %$spec ) {
        given ( ref $v ) {
            when ('')     { $$template[FOR_DATA]{ $v } = _data_control $k }
        
perlfaq ( F/FL/FLORA/perlfaq-5.01500301.tar.gz, FLORA, 2011; MetaCPAN )
perlfaq/lib/perlfaq4.pod ( view source; MetaCPAN )
 item is
contained in an array or a hash:

	use 5.010;

	if( $item ~~ @array )
		{
		say "The array contains $item"
		}

	if( $item ~~ %hash )
		{
		say "The hash contains $item"
		}

With earlier ver
ons like "NaN" or
"Infinity", you probably just want to use a regular expression:

	use 5.010;

	given( $number ) {
		when( /\D/ )
			{ say "\thas nondigits"; continue }
		when( /^\d+\z/ )
			{ say "\
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/script/uc.pl ( view source; MetaCPAN )
                for my $worker ( @{ $pidref->{$master} } ) {
                    if ( ref($worker) ~~ 'HASH' ) {
                        for ( keys %$worker ) {
                            print "    

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