_node ( keys %{ $graph{$last_node} } ) {
# print "\n link node : $link_node";
if ( $link_node ~~ @temp_path ) {
}
else {
#msg( "\n link node $link_node not in @temp_path",$verbose);
, type => $type)
Add a recipient to a text. $type can be one of "recpt", "cc" or "bcc".
If not given (or if set to something other than one of those three
strings) it defaults to "recpt". C<text_no>
es;
use Moose::Util::TypeConstraints;
subtype 'LabelFontWeight'
=> as 'Str'
=> where { $_ ~~ [qw(normal bold)] }
=> message { "$_ is not a valid LabelFontWeight ('bold', 'normal')" };
cl
t = $self->opposite_suit($self->diamond);
=cut
sub opposite_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->spade->name ) { return $self->club; }
when ( $_ eq $s
ub = $self->next_suit($self->diamond);
=cut
sub next_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->club->name ) { return $self->heart; }
when ( $_ eq $
= $self->previous_suit($self->spade);
=cut
sub previous_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->club->name ) { return $self->diamond; }
when ( $_ eq
t = $self->opposite_suit($self->diamond);
=cut
sub opposite_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->spade->name ) { return $self->club; }
when ( $_ eq $s
spade = $self->next_suit($self->diamond);
=cut
sub next_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->spade->name ) { return $self->heart; }
when ( $_ eq $
= $self->previous_suit($self->spade);
=cut
sub previous_suit {
my ( $self, $suit ) = @_;
given ( $suit->name ) {
when ( $_ eq $self->spade->name ) { return $self->diamond; }
when ( $_ eq
next card in the BCS system.
=cut
sub calc_suit {
my ( $self, $prev_card, $new_value ) = @_;
given ( $new_value->value ) {
when ( [ 1, 2, 3 ] ) { return $prev_card->suit; }
when ( [ 4, 5, 6 ]
ub arguments_checking {
my ($self,$provider_name,$config) = @_;
# version 1 checking
given ( $config->{version} ) {
when(2) {
for( $self->version2_required ) { die "P
) = @_; # env and provider id
my $config = $self->providers->{ $provider };
my $class;
given( $config->{version} ) {
when (2) { $class = 'Plack::Middleware::OAuth::Handler::RequestTo
($self,$env,$provider) = @_;
my $config = $self->providers->{ $provider };
my $class;
given( $config->{version} ) {
when (2) { $class = 'Plack::Middleware::OAuth::Handler::AccessTok
on')->list) {
my @section_pages = $self->{c}->model('Section')->pages($section);
if ($page ~~ @section_pages) {
return $section;
}
}
return;
}
=head1 NAME
Perldoc::Server::Mode
> 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 {...} >
r my $cur_found (@founds) {
if ($cur_found->found eq $found_string and @{$cur_found->matches} ~~ @matches) {
$already_found = 1; last;
}
}
next if $already_found;
my $found
};
my $found_cstring = shift @cmatches;
if ($found_string eq $found_cstring and @matches ~~ @cmatches) {
delete $secondary_found[$cidx];
}
$cidx++;
}
push @founds, $s
r my $cur_found (@founds) {
if ($cur_found->found eq $found_string and @{$cur_found->matches} ~~ @matches) {
$already_found = 1; last;
}
}
next if $already_found;
push @fou
>: optional integer, if present, will truncate the message payload if it is larger than the size given (in bytes)
=back
my $a = Net::RabbitMQ::Management::API->new( url => 'http://localhost
b _cap_head { return 'XXX' . shift }
sub _uncap { s/X//g for @_ }
sub _looks_like_string { $_[0] ~~ /[a-z]+/i }
sub cleavage_sites {
my ( $self, $substrate ) = @_;
croak "Incorrect substra
= Bio::Protease->Specificities;
croak "Not a known specificity\n"
unless $specificity ~~ %$specificity_of;
return $specificity_of->{$specificity};
}
__PACKAGE__->meta->make_immutabl
push @potential_delimiters, $delim;
} # end if
} # next $delim
given (scalar @potential_delimiters) {
when (0) {
die Text::BSV::Exception-
n/\\\\/gs;
$field_name = translate_from_bsv($field_name);
if ($field_name ~~ @field_names) {
die Text::BSV::Exception->new(
$Text::BSV::Excep
$INCLUDE_TRAILING_EMPTY_FIELDS;
for my $piece (@pieces) {
if ($piece ~~ @field_names) {
die Text::BSV::Exception->new(
$Text::BSV::Excep
=> $cron_event,
cb => $cb,
%args
});
}
catch {
given ( $timespec ) {
# hour:minute per day
when( m{^(\d+):(\d+)$} ) {
}, res => [undef] },
);
# Perl 5.10 operators
if ($] >= 5.010) {
$ops{'infix:~~'} = { sub => eval 'sub { $_[0] ~~ $_[1] }', res => [1, 1], chain => 1 };
$ops{'infix://'} = { sub => eval 'sub
# 1 (also for 1 arg)
eq # 1 (also for 1 arg)
ne # 1 (also for 1 arg)
~~ # 1 (also for 1 arg)
& # -1 (from ^0, the 2's complement in arbitrary precision)
my ($to, $port);
for(keys %$args) {
$to = $args->{$_} if $_ eq 'to';
}
given(lc $service) {
when ('ssh') { $port = 22; }
when ('www') { $port = 80; }
s = 0;
my @flush_items;
if (ref $opts eq 'ARRAY') {
for (@{$opts}) {
given (uc $_) {
when ('INPUT') { push @flush_items, $_; }
when ('OUTPUT
>BASE, dirs=> DIRS } ,
;
my @dirs = map { BASE .'/'. $_ } @{DIRS()} ;
DEBUG "Scanning @dirs ";
given (ACTION) {
when (/^add$/i) { my $msg = howl_notice($opts->{copyright} ) ;
DEBUG 'Using c
,
#actions => [qw/ fix /] ,
} ,
;
1;
DEBUG 'Scanning '. BASE ;
given (ACTION) {
when (/^add$/i) { disable_test_builder;
write_LICENSE BASE ,
g;
my @letters ;
# filter input
$num =~ s/\D+//;
for (split //, $num ) {
given (lc $_) {
when ('2') { push @letters, [qw/a b c/] }
when ('3') { p