'~~',
} );
Yields:
[
["path", "is_actionable"],
["~~Alpha", 0],
["~~Beta", 0],
["~~Alpha~~Epsilon", 0],
["~~Alpha~~Epsilon~~Kappa", 1],
["~~Alpha~~Z
eta", 0],
["~~Alpha~~Zeta~~Lambda", 1],
["~~Alpha~~Zeta~~Mu", 0],
["~~Beta~~Eta", 1],
["~~Beta~~Theta", 1],
]
Finally, should we want the C<path> column in the returned ar
->debug( "field name with txt renderer: " . $field->{name} );
#if ($field->{name} ~~ @apk) {
if ( grep /^$field->{name}$/, @apk ) {
$self->{log}->d
d_status;
} else {
my $x = "";
# if ( $field->{name} ~~ @{$self->{cols}}) {
if ( defined $self->{hcols}->{ $field->{name} } ) {
y, except for C<private> which is treated as an empty
string if omitted.
Any mode values can be given (not just those listed by
C<XF86VidModeGetAllModeLines()>) but it's generally the caller's
respon
> undef);
sub to_qs() {
my $s = shift;
my $amp = shift || 0;
return '' if ($s->value ~~ $s->default);
return $s->name . '=' . $s->value . ($amp ? '&' : '');
}
sub reset() {
my $
> [ 'read' ],
);
sub receive ( $self, $message ) {
my @message = @$message;
my $m;
given ( $message[0] ) {
$m = MsgPack::RPC::Message::Request->new( id => $message[1], method =>
sub { 1 };
has '+next' => sub {
my $self = shift;
my $byte = $self->buffer_as_int;
given( $byte ) {
return [ [ 'FixInt', buffer => $self->buffer ] ]
when $byte <= 0
e range
[RMIN,RMAX]; note that the arguments for LMIN,LMAX must be negative values.
For example, given (LMIN,LMAX,RMIN,RMAX) = (-1,-3,1,4), the iterator returns
first three nodes preceding and first f
-Mi18n=/path/to/po-files/ -le 'print ~~"Hello, world"';
Hola, mundo
In your module:
use i18n "/path/to/po-files";
my $place = ~~'world';
print ~~"Hello, $world";
=head1 DESCRIPTION
s (C<~~>)
in front of every string that is intended to be translated. That's it.
All the other details of localization are handled outside the program.
Here are some examples:
my $str1 = ~~'The
time is now';
my $str2 = ~~"$str1 for having a cow";
my $str3 = ~~qq{Wow! $str2};
my $str4 = ~~<<END;
How now.
Brown cow.
END
Think of the tilde signs as an indicator that you
require File::Basename;
require BenchmarkAnything::Evaluations;
my $timestamp = ~~gmtime;
my $headline = "Perl::Formance - charts rendered at: $timestamp\n\n";
$hea
len = length $top;
find {
wanted => sub {
if ($File::Find::dir ~~ %prune) {
$File::Find::prune = 1;
return;
\s+/, $line;
next unless $package ~~ %modules;
$dists{ CPAN::DistnameInfo->new($dist)->dist } = undef;
}
close $fh;
sub { $_[0] ~~ %dists; }
};
my %conf = (
perl => {
}
my $listed;
for my $w (@whitelist) {
next if not $name ~~ $w;
$listed = 1;
VERBOSE && say "$lang - $name - whitelisted";
llow_allow_origins'}
&& $req->header('Origin') ~~ @{$build_options_route->{'header_allow_allow_origins'}}
type
counter_len
=back
=item type_merge($type1, $type2)
Return the field type that would be given (by default) to a bag
that is a result of co-mingling two bags of the given types.
For example, '
>>=
?
and
cmp
eq
gt
lt
ne
not
or
xor
||
||=
~~
);
Readonly::Array our @DEFAULT_LOGIC_KEYWORDS => qw(
else
elsif
for
foreach
ub mhs_dict { &mhs_dictionary }
sub mhs_dictionary {
# - Lookup meta specs for attributes from a given (src) dictonary;
# * Parameters destined to this routine (dict, src/src_dict, dest/dest_dict)
unge context (%_) wins over all of the above
# - [OPTIONALLY] : merge the resulting specs onto a given (dest) dictionary, which may the same as (serc)
#######################################
# ATTEN
binary => '& &= | |= ^ ^= &. &.= |. |.= ^. ^.=',
unary => "neg ! ~ ~.",
mutators => '++ --',
func => "atan2 cos sin exp abs log sqrt
=> "-X",
dereferencing => '${} @{} %{} &{} *{}',
matching => '~~',
special => 'nomethod fallback =',
);
my %ops_seen;
@ops_seen{ map split(/ /), v
=> 'lt le gt ge eq ne',
binary => '& &= | |= ^ ^= &. &.= |. |.= ^. ^.=',
unary => 'neg ! ~ ~.',
mutators => '++ --',
func => 'atan2 cos sin exp abs log sqrt int',
conversion => 'bo
cify PML-TQ query on the command-line.
=item B<--query-file> filename
Read PML-TQ query from a given (utf-8 encoded text) file
=item B<--query-pml-file> filename
Read PML-TQ query from a given PML
}
else {
return;
}
}
chomp(my @songs = <$fh>);
close($fh);
return ($file ~~ @songs) ? 1 : 0;
}
sub remove_favorite {
my $query = shift;
return if !defined($query);
t
lias => $alias };
use List::AllUtils qw/ first /;
push( (first {
$alias ~~ @$_
} @levels)->@*, $new );
}
add_directive(synopsis => 'head1');
has xml => (
::AllUtils qw/ first_index /;
use experimental 'smartmatch';
my $i = first_index { $token ~~ @$_ } @levels;
warn $i;
return $i;
}
sub parse_pod($self, $end_cond = undef ) {
while
n ne '' )
{
return { $clean => 1 };
}
else
{
return {};
}
}
# param_given ( )
#
# Return true if the specified parameter was included in this request, whether
# or not it
exists and undefined otherwise.
return $self->{raw_params}{$param_name};
}
# special_given ( param )
#
# Return true if the given special parameter was specified in the request,
# regardl
a service and if it was included with this request. Returns I<undef>
otherwise.
=head3 special_given ( param )
Returns true if the specified special parameter was included in this request
and is en
d
parameter, or an empty hashref if the parameter was not included in the
request.
=head3 param_given ( param )
Returns true if the specified parameter was included in there request, whether
or not