1 } (
qw{
-> ++ -- ** ! ~ + -
=~ !~ * / % x . << >>
< > <= >= lt gt le ge
== != <=> eq ne cmp ~~
& | ^ && || // .. ...
? :
= **= += -= .= *= /= %= x= &= |= ^= <<= >>= &&= ||= //=
=> <> <<>>
++ -- ** ! ~ + -
=~ !~ * / % x
<< >> lt gt le ge cmp ~~
== != <=> . .. ... ,
& | ^ && || //
? : **= += -= .= *=
eq | ne | lt | le | gt | ge
| == | != | < | <= | > | >=
| =~ | !~ | ~~
) \Z }x;
my $expected_code = $test_code;
my ($got_code, $comparator);
for m
ed[0];
ok $result eq $expected[0];
ok $result == $expected->[0]->{a}[0];
ok $result ~~ $expected[0];
ok $result !~ $expected[0];
ok $result > twice($expected{'half'});
=hea
$result --> 1
# $expected->[0]->{a}[0] --> undef
#
ok 4 - $result ~~ $expected[0]
not ok 5 - $result !~ $expected[0]
# Failed test at demo/ts_ok-er.pl line 1
ponse will
be based on the request, but can be added or overridden using \%HEADER.
If MSG is not given (e.g. argument is missing, second argument is \%HEADER
already) a builtin message for the code wi
he current parameter
set.
=item strip_like($regex)
Remove all parameters whose names match the given (qr-quoted) regex e.g.
$qq->strip_like(qr/^utm/)
Does NOT match against parameter values.
: Channel-ids are distinguished by the
"@"-sign.
NOTE: For ugetube.com, a full URL must be given (not just an ID), as there's
no way to distinguish them from brandnewtube.com IDs and we decided
es exist:
* - Given (x, u), no two distinct c values give the same successful result t.
* - Every successful result maps back to x through secp256k1_ellswift_xswiftec_var.
* - Given (x, u), all t v
n ISO8601
return $dow; # return Mon=1 as in ISO8601
}
# return month days count for given ( year, month ) (not strictly julian_ namespace)
sub julian_date_month_days_ym
{
my $y = shift;
- alias for domain2proxy
# Returns: $self
# Comment:
# FIXME
# If more than one leg is given (e.g. legs+outgoing_proxy) than you have
# to provide a function to find out, which leg is used t
er> and inherits from L<Markdown::Parser::Element>
For example:
Tickets for the event are ~~€5~~ ++€10++
Which would become:
Tickets for the event are <del>€5</del> <ins>€10</ins>
he current parameter
set.
=item strip_like($regex)
Remove all parameters whose names match the given (qr-quoted) regex e.g.
$qq->strip_like(qr/^utm/)
Does NOT match against parameter values.
ne> tells it to
"reject!", and I<counte> bids it "count!". In each case, an instruction
is being given (and in a void context too, so no backchat is expected).
Handling scalar and list contexts is a
t::Given;
=pod
=head1 NAME
PPI::Statement::Given - A given-when statement
=head1 SYNOPSIS
given ( foo ) {
say $_;
}
=head1 INHERITANCE
PPI::Statement::Given
isa PPI::Statement
=head1 NAME
PPI::Structure::Given - Circular braces for a switch statement
=head1 SYNOPSIS
given ( something ) {
...
}
=head1 INHERITANCE
PPI::Structure::Given
isa PPI::Structure
xis pointing "northwest".
The default value is 0 (no rotation).
=item 'full' => color_spec
If given (no default), draw the full ellipse (not just the arc)
in this color, with a dot at its center.
/^ ( (?: (?: ~~ )*+ ~ \[ | [^\[] )++ ) /x;
$raw //= '';
if (length $raw) {
$text =~ s/^ ( (?: (?: ~~ )*+ ~ \[ | [^\[] )++ ) //gx;
# Fix up escapes
$raw =~ s/(?:~~)*+\K~\[/[/g;
$raw =~ s/(?:~~)*+\K~,/,/g;
$raw =~ s/~~/~/g;
# Escape stuff for perl
$raw =~ s/\\/\\\\/g;
$raw =~ s/'/\\'/g;
$sub .= ", '$raw'";
}
last unless length $tex
$method =~ s/ \[ \s* (.*?) \s* \] /$1/x;
# sort out ~, and ~~
$method =~ s/(?:~~)*+\K~,/\x{00}/g;
$method =~ s/~~/~/g;
($method, my @params) = split /,/, $method;
# if $is_p
ry hash-ref, and returns
true if the document matches the query, false otherwise. If no query
is given (or an empty hash-ref is given), true will be returned (every
document will match an empty query
output items; if item is a reference, will print dump
=cut
sub debug {
my $layer = $_[0] && $_[0] ~~ @Layer_const ? shift : DefaultLayer;
# drop the layer prefix to print in a config-fasion manner
tput OFF
=cut
sub _verbose {
my $layer = shift;
my $conf = Crop->C->{debug};
return 1 unless $conf->{output} eq 'On';
return unless exists $conf->{layer};
$layer ~~ @{$conf->{layer}};
}
1;
ge names, not general bareword
quoting. If there's no such package at compile time a warning is given (see
L<perldiag/Bareword "%s" refers to nonexistent package>)
my $class = No::Such::Package:
e structure of the directory tree (including symbolic
links to directories) you might traverse a given (physical) directory
more than once (only if C<follow_fast> is in effect).
Furthermore, deleting