}
grep_subfields { (tag) ~~ $sspec }
} grep_fields { (tag) ~~ $fspec }
# TODO: Benchmark: is it really faster ?
# map_fields {
# if ( (tag) ~~ $fspec ) {
# map_s
ubfields {
# if ( (tag) ~~ $sspec ) {
# with_value { $code->() }
# } else { () }
# }
# } else { () }
# } $rec
}
sub marawk (&$) {
my $code =
my $wynik = '';
$Idziesiatka = Val(Left($Number, 1));
if ($Idziesiatka == 1) {
given(Val($Number)) {
when (10) { $wynik = 'dziesięćdz '; }
when (11) { $wyni
'; }
when (19) { $wynik = 'dziewiętnaście '; }
}
}
else {
given ($Idziesiatka) {
when (2) { $wynik = 'dwadzieścia '; }
when (3) { $wynik
nt
- NoSSHStrictHostKeyChecking
- SSHOpts
- ReturnRV
- Retry
=head2 check_binary
Make sure the given (unqalified) binary exists somewhere in the search path.
=head2 check_remote_binary
Make sure t
,
'Info',
'Warning',
'Error',
'Fatal',
);
=head2 _raise_error_on_global_instance
Raise the given (code, message, ...) log event on the L<EntityModel::Log> global instance.
=cut
sub _raise_erro
ed $data_hash->{'input_type_list'} and
not $data_hash->{'input_type_list'} ~~
$self->{'input_type_list'}) {
next;
id => $self->_request->get_cookie(name => 'session_id'));
if (!($self->_session->get_id() ~~
$self->_request->get_cookie(name => 'session_id'))) {
$self->_response->set_cook
it can.
This module will B<load> each of the classes in the list of input
files or directories given (default: C<@ARGV>), auto-discover which
methods each class provides, locate the actual class the
(my $main_module = $distro) =~ s/-/::/g;
$main_module = $modules[0] unless ($main_module ~~ @dmods);
# remove any obvious split potentials
if ($self->removal_level <= RL_D
y $i = 0; $i <= $#token; $i++ ) {
foreach ( $token[$i] ) {
if ( $preserve_caps ~~ q(1)
&& m{^\p{Lu}+(?:\N{APOSTROPHE})?$}msx )
{
next;
sub read_packet_chunk { #{{{
my ( $self, $first_bit ) = @_;
my ($packet_string);
given ($first_bit) {
when (/[\x70-\x7f]/) {
my $length = unpack "C*", $first_bit;
= keys %{$hessian_data};
my $datastructure = $hessian_data->{ $keys[0] };
given ( $keys[0] ) {
when (/call/) {
$hessian_message = $self->write_hessia
'$lang'" unless exists $self->{languages}->{$lang}->{match}->{True};
return true if ($to_test ~~ $self->{languages}->{$lang}->{match}->{True});
return false;
}
sub _looks_false {
my $sel
'$lang'" unless exists $self->{languages}->{$lang}->{match}->{False};
return true if ($to_test ~~ $self->{languages}->{$lang}->{match}->{False});
return false;
}
1;
__END__
=pod
=encoding
in type.
=cut
sub ChangePin
{
my ( $self, $pin_type, $oldpin, $newpin ) = @_;
$pin_type ~~ @valid_pin_types
or croak( "Invalid PIN type: '"
. $pin_type
PinRequired property.
=cut
sub EnterPin
{
my ( $self, $pin_type, $pin ) = @_;
$pin_type ~~ @valid_pin_types
or croak( "Invalid PIN type: '"
. $pin_type
w value of pin.
=cut
sub ResetPin
{
my ( $self, $pin_type, $puk, $pin ) = @_;
$pin_type ~~ @valid_pin_types
or croak( "Invalid PIN type: '"
. $pin_type
r of elements). If C<$fields> is specified, the resulting document
will only include the fields given (and the C<_id> field) which can cut down on
wire traffic.
=head2 insert ($object, $options?)
so ~~ $rx ) {
# substr($iso, $/.from, $/.chars) = $rx();
# }
#}
($iso ~~ rx:perl5/(YYYY)/) && (substr($iso,$/.from,$/.chars)= sprintf("%04d", $year))
or
($iso ~~ r
100)))
or undefine($year);
$iso ~~ rx:perl5/(WNN)/ && (substr($iso,$/.from,$/.chars)=sprintf("W%02d", $week)) or undefine($week);
$iso ~~ rx:perl5/(MM)/ && (substr($iso,$/.from,$/.ch
"%02d", $month)) or undefine($month);
$iso ~~ rx:perl5/(DDD)/ && (substr($iso,$/.from,$/.chars)=sprintf("%03d", $doy)) or undefine($doy);
$iso ~~ rx:perl5/(DD)/ && (substr($iso,$/.from,$/.char
py {
$field.trans(('_' => '-')) if not $field ~~ /^\:/ and $TRANSLATE_UNDERSCORE;
my $v = %!headers.delete($field.lc);
push @values, $v ~~ Array ?? @$v !! $v if defined $v;
}
return @
my method header (Str $field is copy, Str $val is copy, Str $op = "") {
unless $field ~~ /^\:/ {
$field ~~ s:g/_/-/ if $TRANSLATE_UNDERSCORE;
my $old = $field;
$field = lc $field;
un
entry for this field
$old ~~ s:g/\b(\w)/{$0.ucfirst}/;
%standard_case{$field} = $old;
}
}
my $h = %!headers{$field};
$h //= [];
my @old = $h ~~ Array ?? @$h !! ($h);
$val =
$isGap = $stock->is_gap (SEQNAME, $colNum)
Return true if a given (SEQNAME,column) co-ordinate is a gap.
=cut
# Return true if a given (rowname,column) co-ordinate is a gap
sub is_gap {
my ($se
=item range_values($lo_key, $hi_key)
Returns the list of values corresponding the range of keys given (see
range_keys() above).
=item minimum()
Returns the lowest ordered key in the treap.
=item m
$self = bless { }, $class;
my $args = shift;
my @spec;
if(ref $args ~~ 'HASH') {
push @spec, %$args;
} elsif(ref $args ~~ 'ARRAY') {
push @spec, @$args;
} else {
die "no idea what $args is
$self = bless { }, $class;
my $args = shift;
my @spec;
if(ref $args ~~ 'HASH') {
push @spec, %$args;
} elsif(ref $args ~~ 'ARRAY') {
push @spec, @$args;
} else {
die "no idea what $args is
gin>
=back
=cut
sub new {
my $class = shift;
my @def;
if(ref $_[0] ~~ 'HASH') {
@def = %{$_[0]};
} elsif(ref $_[0] ~~ 'ARRAY') {
@def = @{$_[0]};
} else {
@def = @_;
}
my $self = ble