Group
Extension

Matches 1357

Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Value/JSON.pm ( view source; MetaCPAN )
t_size {
  my($self, $obj) = @_;

  my $count = keys %$obj;
  foreach my $v (values %$obj) {
    given(ref $v) {
      when('HASH') {
        $count += $self->_object_size($v);
      }
      when('ARR
  my ( $self, $engine, $prop ) = @_;

  my $d = deferred;

  my $value = $self->[0]->{$prop};

  given(ref $value) {
    when('HASH') {
      $d->resolve(bless [ $value ] => __PACKAGE__);
    }
    wh
 _convert_to_vector {
  my($self, $values) = @_;

  my @converted;

  for my $v (@$values) {
    given(ref $v) {
      when('HASH') {
        push @converted, bless [ $v ] => __PACKAGE__;
      }
    
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Library/Linguistics.pm ( view source; MetaCPAN )
fier = Lingua::YALI::LanguageIdentifier->new;
  $identifier->add_language($_) for @languages;

  given ( blessed $text ) {
    when ('Dallycot::Value::String') {
      my $result = $identifier->identi
_content -> then(
        sub {
          my ($body) = @_;
          my $content = '';
          given ( blessed $body ) {
            when ('HTML') {    # content-type: text/html
                    
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/Parser.pm ( view source; MetaCPAN )
 [],
    {}
  ] => 'Dallycot::AST::Lambda';
}

sub negate {
  my ( undef, $expression ) = @_;

  given ( blessed $expression) {
    when ('Dallycot::AST::Negation') {
      return $expression->[0];
  
on] => 'Dallycot::AST::Negation';
    }
  }
}

sub invert {
  my ( undef, $expression ) = @_;

  given ( blessed $expression) {
    when ('Dallycot::AST::Invert') {
      return $expression->[0];
    
 left/right as appropriate into a single sum
  given ( blessed $left_value ) {
    when ($sum_class) {
      @expressions = @{$left_value};
      given ( blessed $right_value ) {
        when ($sum_cl
Dallycot ( J/JS/JSMITH/Dallycot-0.151630.tar.gz, JSMITH, 2015; MetaCPAN )
Dallycot/lib/Dallycot/AST/BuildList.pm ( view source; MetaCPAN )

sub execute {
  my ( $self, $engine ) = @_;

  my $d = deferred;

  my @expressions = @$self;
  given ( scalar(@expressions) ) {
    when (0) {
      $d->resolve( Dallycot::Value::EmptyStream->new );
PulseAudio ( E/EC/ECARROLL/PulseAudio-0.07.tar.gz, ECARROLL, 2013; MetaCPAN )
PulseAudio/lib/PulseAudio/Backend/Utilities.pm ( view source; MetaCPAN )
 {
		my $self = shift;
		my %db;
		while ( my ($k,$v) = each %{$self->get_raw('default')} ) {
			given ( $k ) {
				when ( qr/sink/ ) {
					$db{sink} = $self->get_sink_by(['name'] => $v);
				}
				w
 commands can be trigger on two modules
		## like play-sample ( sample-name, sink )
		my @cat;
		given ( $name ) {
			when ( qr/(?<!un)load/ )        { @cat = ('load') }
			when ( qr/^list|stat|info/ 
me" unless @cat; }
		};

		## Generate the subs for attachment to classes
		my $sub;
		if ( 'list' ~~ @cat ) {
			my $key = $alias;
			if ( $alias =~ qr/list[-_](.*)s/ ) {
				$key = $1;
			}

			$sub
threads-lite ( L/LE/LEONT/threads-lite-0.034.tar.gz, LEONT, 2015; MetaCPAN )
threads-lite/lib/threads/lite/tid.pm ( view source; MetaCPAN )
 strict;
use warnings;
use experimental 'smartmatch';
use Scalar::Util qw/blessed/;

use overload '~~' => sub {
	my ($self, $other, $reverse) = @_;
	if (blessed($other) && $other->isa(__PACKAGE__)) {
my ($self, $other, $reverse) = @_;
	($self, $other) = ($other, $self) if $reverse;
	return "$self" ~~ $other;
  };

use threads::lite qw/self receive/;

our $VERSION = '0.034';

sub rpc {
	my ($self, 
FAST ( D/DH/DHARD/FAST-1.06.tar.gz, DHARD, 2015; MetaCPAN )
FAST/lib/FAST/List/Gen/Lazy.pm ( view source; MetaCPAN )
 > will force
the values in C< LIST > to evaluate, and will return the new list.

    now(...)  ~~  grep {!$_ or 1} ...

=item methods of C< fn {...} > functions

return values of C< fn {...} >
Jifty ( A/AL/ALEXMV/Jifty-1.50430.tar.gz, ALEXMV, 2015; MetaCPAN )
Jifty/lib/Jifty/Web/Session/JDBI.pm ( view source; MetaCPAN )
lf->_session($session);
}

=head2 load_by_kv key => value 

Load up the current session from the given (key, value) pair. If no matching
session could be found, it will create a new session with the k
Jifty ( A/AL/ALEXMV/Jifty-1.50430.tar.gz, ALEXMV, 2015; MetaCPAN )
Jifty/lib/Jifty/Web/Session.pm ( view source; MetaCPAN )
must implement 'load'";
}

=head2 load_by_kv key => value 

Load up the current session from the given (key, value) pair. If no matching
session could be found, it will create a new session with the k
FAST ( D/DH/DHARD/FAST-1.06.tar.gz, DHARD, 2015; MetaCPAN )
FAST/lib/FAST/Bio/Search/Hit/PullHitI.pm ( view source; MetaCPAN )
it.
           If there are no alternatives, then only the primary accession will 
           be given (if there is one).
 Returns : list of all accession numbers in the description
 Args    : none

=
Net-LDNS ( C/CD/CDYBED/Net-LDNS-0.75.tar.gz, CDYBED, 2015; MetaCPAN )
Net-LDNS/include/ldns/dnssec_verify.h ( view source; MetaCPAN )
packet had an empty ANSWER
 *                          section
 * \param[in] match On match, the given (reference to a) pointer will be set 
 *                  to point to the matching nsec resource 
Net-LDNS ( C/CD/CDYBED/Net-LDNS-0.75.tar.gz, CDYBED, 2015; MetaCPAN )
Net-LDNS/include/ldns/rr_functions.h ( view source; MetaCPAN )
 the soa serial to the number of 
 * seconds since unix epoch (1-1-1970 00:00). 
 * When data is given (i.e. the function is called via
 * ldns_rr_soa_increment_func_int), it is used as the current ti
 serial to the current date
 * succeeded by a two digit iteration (datecounter).
 * When data is given (i.e. the function is called via
 * ldns_rr_soa_increment_func_int), it is used as the current ti
Net-LDNS ( C/CD/CDYBED/Net-LDNS-0.75.tar.gz, CDYBED, 2015; MetaCPAN )
Net-LDNS/include/ldns/buffer.h ( view source; MetaCPAN )
te_at(buffer, buffer->_position, data, count);
	buffer->_position += count;
}

/**
 * copies the given (null-delimited) string to the specified position at the buffer
 * \param[in] buffer the buffer
 
at, const char *str)
{
	ldns_buffer_write_at(buffer, at, str, strlen(str));
}

/**
 * copies the given (null-delimited) string to the current position at the buffer
 * \param[in] buffer the buffer
 * 
Net-LDNS ( C/CD/CDYBED/Net-LDNS-0.75.tar.gz, CDYBED, 2015; MetaCPAN )
Net-LDNS/include/ldns/util.h ( view source; MetaCPAN )
n result;
			}
		}
		a *= a;
		b /= 2;
	}
	return result;
}

/**
 * Returns the int value of the given (hex) digit
 * \param[in] ch the hex char to convert
 * \return the converted decimal value
 */
i
Net-LDNS ( C/CD/CDYBED/Net-LDNS-0.75.tar.gz, CDYBED, 2015; MetaCPAN )
Net-LDNS/include/ldns/dnssec_sign.h ( view source; MetaCPAN )
 be marked and should specifically 
 * be taken into account separately.
 *
 * When glue_list is given (not NULL), in the process of marking the names, all
 * glue resource records will be pushed to t
Algorithm-DependencySolver ( K/KA/KAORU/Algorithm-DependencySolver-1.01.tar.gz, CDFH, 2015; MetaCPAN )
Algorithm-DependencySolver/DependencySolver/Solver.pm ( view source; MetaCPAN )
only if the edge from $pred to $node can
                # safely be removed
                $pred ~~ [$G->all_predecessors($_)]
            } @other_predecessors;

            if ($other_paths_to_pre
Articulate ( P/PE/PERRETTDL/Articulate-0.005.tar.gz, PERRETTDL, 2015; MetaCPAN )
Articulate/lib/Articulate/Flow/LocationSwitch.pm ( view source; MetaCPAN )
h of the keys of C<< $self->where >>; if the location
of C<$item> matches location specification given (see
L<Articulate::LocationSpecification>), then instantiates the value of
that key and performs 
Date-Calc ( S/ST/STBEY/Date-Calc-6.4.tar.gz, STBEY, 2015; MetaCPAN )
Date-Calc/lib/Date/Calc.pod ( view source; MetaCPAN )
is function returns a string containing the (english) abbreviation
of the ordinal number for the given (cardinal) number "C<$number>".

I.e.,

    0  =>  '0th'    10  =>  '10th'    20  =>  '20th'
    
Wrangler ( C/CL/CLIPLAND/Wrangler-2.15.tar.gz, CLIPLAND, 2015; MetaCPAN )
Wrangler/lib/Wrangler/Wx/FormEditor.pm ( view source; MetaCPAN )
 $editor, ".($field_name||'(no field name)').", $editor_name");
	if($field_name){
		if($field_name ~~ @{ $editor->{wrangler}->config()->{'ui.formeditor'}->{ $editor_name } }){ # never happens, is prev
Smart-Dispatch ( T/TO/TOBYINK/Smart-Dispatch-0.006.tar.gz, TOBYINK, 2014; MetaCPAN )
Smart-Dispatch/lib/Smart/Dispatch/Match.pm ( view source; MetaCPAN )
  => 16,
};

use overload
	'&{}'    => sub { my $x=shift; sub { $x->conduct_dispatch($_[0]) } },
	'~~'     => 'value_matches',
	bool     => sub { 1 },
;

has test => (
	(_TYPES?(isa=>Any()):()),
	is  
f, $value) = @_;
	local $_ = $value;
	no warnings; # stupid useless warnings below
	return ($value ~~ $self->test);
}

sub conduct_dispatch
{
	my ($self, $value, @args) = @_;
	local $_ = $value;
	if (


=item * B<< code derefernce >> C<< &{} >> - C<conduct_dispatch>.

=item * B<< smart match >> C<< ~~ >> - C<value_matches>.

=back

=head1 BUGS

Please report any bugs to
L<http://rt.cpan.org/Dist/Di

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