Group
Extension

Matches 1357

Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/Synopsis/S32-setting-library/Numeric.pod ( view source; MetaCPAN )
mplex> with
a C<NaN> in real or imaginary part may be considered a C<NaN> itself (and
C<(NaN + 1i) ~~ NaN> is C<True>).

Coercion of a C<Complex> to any C<Real> returns the real part (coerced, if
nece
Log-Info ( F/FL/FLUFFY/Log-Info-2.00.tar.gz, FLUFFY, 2010; MetaCPAN )
Log-Info/lib/Log/Info.pm ( view source; MetaCPAN )


  my @keys = keys %{LOG4PERL_LEVELS()};
  my ($minkey, $maxkey) = (min(@keys), max(@keys));

  given ( $level ) {
    when ( $_ < $minkey ) { $l4p_level = 2 * LOG4PERL_LEVELS->{$minkey} }

    when 
MOSES-MOBY ( E/EK/EKAWAS/MOSES-MOBY-0.96.1.tar.gz, EKAWAS, 2010; MetaCPAN )
MOSES-MOBY/lib/MOSES/MOBY/Data/Object.pm ( view source; MetaCPAN )
->toXML ($name);
	$root->appendChild ($xmlElem) if $xmlElem;
    }
}

# return the same value as given (but others may override it - eg,
# Boolean changes here 1 to 'true'

sub _express_value {
    sh
TM ( D/DR/DRRHO/TM-1.56.tar.gz, DRRHO, 2010; MetaCPAN )
TM/lib/TM/AsTMa/Fact.pm ( view source; MetaCPAN )
 s/ \~ /\n/g;             						# replace _~_ with \n
    s/ \~\~ / \~ /g;         						# stuffed ~~ cleanout
    s/^\#.*?\n/\n/mg;        						# # at the start of every line -> gone
    s/\s\#.*?\n
TM ( D/DR/DRRHO/TM-1.56.tar.gz, DRRHO, 2010; MetaCPAN )
TM/lib/TM.pm ( view source; MetaCPAN )
rtion_id>, ...)

This method takes a list of assertion IDs and returns the assertion(s) with the given (subject)
ID(s). If the assertion is not identifiable, C<undef> will be returned in its place. Ca
TM ( D/DR/DRRHO/TM-1.56.tar.gz, DRRHO, 2010; MetaCPAN )
TM/lib/TM/IndexAble.pm ( view source; MetaCPAN )

	);
    return %s;
    }
}

sub _expand_axes {
    my $a = shift;
    use feature 'switch';
    given ( $a ) {
	when ('taxo') {                                                              # "taxo" s
App-QuoteCC ( A/AV/AVAR/App-QuoteCC-0.10.tar.gz, AVAR, 2010; MetaCPAN )
App-QuoteCC/lib/App/QuoteCC.pm ( view source; MetaCPAN )
_flag.
{
my @go_attrs = MooseX::Getopt::GLD->meta->get_attribute_list;
my $help_attr = 'help_flag' ~~ @go_attrs ? 'help_flag' : 'help';
has $help_attr => (
    traits        => [ qw/ Getopt / ],
    c
nextgen ( E/EC/ECARROLL/nextgen-0.06.tar.gz, ECARROLL, 2010; MetaCPAN )
nextgen/lib/nextgen.pm ( view source; MetaCPAN )
	return ()
	## }

	my $procedural = (
		$pkg eq 'main'
		|| defined $args{'mode'} && $args{'mode'} ~~ qr/:procedural/
	) ? 1 : 0
	;

	feature->import(':5.10');
	indirect->unimport(':fatal');
	autodie-
WWW-Formspring ( W/WO/WORR/Formspring/WWW-Formspring-0.03.tar.gz, WORR, 2010; MetaCPAN )
WWW-Formspring/lib/WWW/Formspring.pm ( view source; MetaCPAN )
)

=item answered_list($username, $max_id, $since_id)

Gets a list of questions and answers from given (or default) username. Returns an arrayref of WWW::Formspring::Response objects.
If max_id parame
kurila ( T/TT/TTY/kurila-1.19_0.tar.gz, TTY, 2009; MetaCPAN )
kurila/pod/perlsyn.pod ( view source; MetaCPAN )
nalogous
to C<switch> and C<case> in other languages, so the code
above could be written as

    given($_) {
	when (/^abc/) { $abc = 1; }
	when (/^def/) { $def = 1; }
	when (/^xyz/) { $xyz = 1; }
	def

    }

This construct is very flexible and powerful. For example:

    use feature ":5.10";
    given($foo) {
	when (undef) {
	    print '$foo is undefined';
	}
	
	when ("foo") {
	    print '$foo is 
check($foo) is true';
	}
	
	default {
	    die q(I don't know what to do with $foo);
	}
    }

C<given(EXPR)> will assign the value of EXPR to C<$_>
within the lexical scope of the block, so it's simi
Games-RailRoad ( J/JQ/JQUELIN/Games-RailRoad-1.101330.tar.gz, JQUELIN, 2010; MetaCPAN )
Games-RailRoad/lib/Games/RailRoad.pm ( view source; MetaCPAN )
th => 'Games::RailRoad::Node', sub_name => 'nodes';
    $_->require for __PACKAGE__->nodes;

    given ( $save->{version} ) {
        when ( $_ > __PACKAGE__->VERSION ) {
            die "uh, loading 
n in vertical /
        # horizontal rails.
        my $frac = $train->frac;
        $frac += $dir ~~ [ qw{ e n s w } ] ? 1/5 : sqrt(2)/10;

        if ( $frac >= 1 ) {
            # eh, changing node
in the middle of two nodes, it's not precise enough.
    $x %= $TILELEN;
    $y %= $TILELEN;
    given ($x) {
        when( $_ >  $TILELEN * (1-$prec) ) { $col++; }
        when( $_ <= $TILELEN * $pre
RRD-Daemon ( F/FL/FLUFFY/RRD-Daemon-1.01.tar.gz, FLUFFY, 2010; MetaCPAN )
RRD-Daemon/lib/RRD/Daemon/RRDB/Graph.pm ( view source; MetaCPAN )
----------

sub graph {
  my ($self, $out_fn) = @_;

  my @rras = map $_->rras, $self->rrdbs;

  given ( $self->range || '' ) { # make sure it's defined so when ( /.../ ) doesn't whinge
    when ( '' 
Data-Dmap ( M/MA/MADZ/Data-Dmap-0.08.tar.gz, MADZ, 2010; MetaCPAN )
Data-Dmap/lib/Data/Dmap.pm ( view source; MetaCPAN )
          if($recurse) {
                    foreach my $val (@mapped) {
                        given(reftype $val) {
                            when('HASH') {
                                for(ke
Project-Euler ( L/LE/LESPEA/Project-Euler-0.20.tar.gz, LESPEA, 2010; MetaCPAN )
Project-Euler/lib/Project/Euler/Lib/Utils.pm ( view source; MetaCPAN )
e = multiple_check(15, [2, 3, 5], 1);

    my @div_by = multiple_check(15, [2, 3, 5]);
    @div_by ~~ (3, 5) == 1;


    my $num = 3;
    my $is_prime = !multiple_check($num, [2..sqrt($num)]);

=head1
Net-OpenAMD ( A/AN/ANDREW/Net-OpenAMD-v0.1.1.tar.gz, ANDREW, 2010; MetaCPAN )
Net-OpenAMD/script/test_server.pl ( view source; MetaCPAN )
            ref $_ ne 'HASH'
                || ( !exists $_->{$param} )
                || $value ~~ $_->{$param}
        } @data;
    }

    $self->render_json( \@data );
};

app->start;
__DATA__

@
Dist-Release ( Y/YA/YANICK/Dist-Release-0.0_5.tar.gz, YANICK, 2010; MetaCPAN )
Dist-Release/lib/Dist/Release/Action/Github.pm ( view source; MetaCPAN )
Uploader;

extends 'Dist::Release::Action';

our $VERSION = '0.0_5';

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sub check {
    my ($self) = @_;

    # we have 'github' registered 
q{no 'github' remote repository found})
      unless 'github' ~~ @remotes;

}

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sub release {
    my $self = shift;

    unless ( $self->di
strel->vcs->command( push => '--tags', 'github', 'master' );
    }
}

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1;

__END__

=head1 NAME

Dist::Release::Action::Github - pushes rep
File-Butler ( S/SI/SIFUKURT/File-Butler-v4.0.0.tar.gz, SIFUKURT, 2010; MetaCPAN )
File-Butler/lib/File/Butler.pm ( view source; MetaCPAN )
sses ) {
        my $text   = "";
        my $method = $_ % 10;
        my $pattern;
        given ( $method ) {
            when ( [ 1, 2, 3 ] ) {
                while ( length $text < $length
Mail-Decency ( U/UK/UKAUTZ/Mail-Decency-0.1.6.tar.gz, UKAUTZ, 2010; MetaCPAN )
Mail-Decency/lib/Mail/Decency/ContentFilter.pm ( view source; MetaCPAN )
ropped. No further handling. 
        # 
        
        if ( $err ) {
            
            given ( $err ) {
                
                # got final SPAM
                when( blessed( $_ ) 
ge => "Could not reinject" } );
        }
    };
    
    return CF_FINAL_OK unless $@;
    
    given ( $@ ) {
        
        # reinect failure -> save to failure dir and log
        when( blessed(
OpenOffice-OODoc ( J/JM/JMGDOC/OpenOffice-OODoc-2.125.tar.gz, JMGDOC, 2010; MetaCPAN )
OpenOffice-OODoc/OODoc/Text.pod ( view source; MetaCPAN )
ent(id [, key1 => value1, key2 => value2, ...])

	Gets, and optionally sets, the properties of a given (existing)
	bibliographic entry. The optionally updated properties are provides
	as a hash. The r
ion means
        that the given substring will be deleted and replaced by the mark. The
        given (negative) offset means that the substring must be searched
        backward and that the last 20
y numbered by the printing/editing applications
        and that it should be represented by the given (arbitrary) string; if
        'label' is defined, it becomes the default value of 'citation';
  
Mail-Decency ( U/UK/UKAUTZ/Mail-Decency-0.1.6.tar.gz, UKAUTZ, 2010; MetaCPAN )
Mail-Decency/lib/Mail/Decency/Core/POEForking/SMTP.pm ( view source; MetaCPAN )
t (eg RCPT TO)

=cut

sub smtp_response {
    my ( $heap, $session, $cmd, $line ) = @_;
    
    given ( $cmd ) {
        when ( "EHLO" ) {
            $heap->{ client }->put( 250 => 'XFORWARD NAME AD

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