ll be
wrapped in elements. C<$1> is wrapped in $tag1, with attributes C<$atts1> if
C<$atts1> is given (as a hashref), C<$2> is wrapped in $tag2...
if C<$elt> is C<< <p>tati tata <b>tutu tati titi</b
ll be
wrapped in elements. C<$1> is wrapped in $tag1, with attributes C<$atts1> if
C<$atts1> is given (as a hashref), C<$2> is wrapped in $tag2...
if $elt is C<< <p>tati tata <b>tutu tati titi</b> t
in = {@filter};
my $class = ref $self || $self;
for my $field (keys %{$in}) {
next if $field ~~ KEYWORDS;
for (split ' OR ', $field) {
return warn "OBJECT|ALERT: Unknown attribute: $obj
@targets) {
for my $key (keys %hash) {
say "$key: $hash{$key}" if $key ~~ $target;
}
}
}
could be called like so:
show_targets( \%records, [qr
@targets) {
for my $key (keys %hash) {
say "$key: $hash{$key}" if $key ~~ $target;
}
}
}
which would then be called like so:
show_targets( fro
get (@targets) {
for my $key (keys %hash) {
delete $hash{$key} if $key ~~ $target;
}
}
}
which would then be called like so:
# Modify $input
t be given
in the correct order.
The word "in" may be given (prepended in English) to the delta ("in 5 years")
and the word "ago" may be given (appended in English) ("6 months ago"). The
"in" is com
t 1-7), then the first week
of the year is the one that contains the first occurrence of the DoW
given (X=1 is Monday, X=7 is Sunday). So, if you want the first week
to be the one that contains the f
f the RecurRange variable. If any
of the dates are passed in, they must be included in the order given
(though it is safe to pass an empty string or undef in for any of them
if you only want to set so
ther scenarios.
This is matched by:
Given qr/a usable (\S+) class/, sub { use_ok( $1 ); };
C<Given()> is a function exported by L<Test::BDD::Cucumber::StepFile> that
accepts two arguments: a regul
|
| but | "Aber" |
| given (code) | "Angenommen", "Gegebensei", "Gegebenseien" |
| when (code) | "Wenn"
. C<Test2::V0> or
C<Test::Exception>.
L<Test::BDD::Cucumber::StepFile> gives us the functions C<Given()>, C<When()>,
C<Then()> and C<Step()>.
=head1 STEP DEFINITIONS
Given qr/I have (\d+)/, sub {
|
| background | "Grundlage" |
...
| given (code) | "Angenommen", "Gegebensei", "Gegebenseien" |
| when (code) | "Wenn"
essing may take place to find an appropriate file (see below).
When just B<-I> or B<--config> is given (no B<=>!), then a file with the current configuration ist written to STDOUT and the program exit
ncestor to all the nodes given (in
nodes $node and LIST). In other words, it answers the question: "What
node in the tree, as low as possible, is ancestor to the nodes given
($node and LIST)?"
If th
italic* and alternate _italic_
Some ***BOLD ITALIC*** or alternate ___BOLD ITALIC___
Some ~~strikethrough~~
## Quote
> There Is More Than One Way To Do It
> Top level
>> Nested
> Quote with styli
# we're done by specific exit code
return $post->(@_)
if $set[0] ~~ $exit;
# continue monitoring
$monitor->(@set);
}
}
} #_monito
atch - Smartmatch done right
=head1 VERSION
version 0.011
=head1 SYNOPSIS
say "YES" if $value ~~ [1, 2, qr/42/];
=head1 DESCRIPTION
B<NOTE: This module is currently still experimental and the d
my @mro = @{ mro::get_linear_isa( ref $obj ) };
for my $class ( @mro ) {
my $name = "$class\::(~~";
my $overload = do {
no strict 'refs';
exists( &$name ) ? \&$name : undef;
};
return
if (match($this, $that))
{
say "$this matches $that";
}
=head2 Differences with ~~
There were major changes to smart match between 5.10.0 and 5.10.1. This
module attempts to emulat
smart's operator does not.
@foo ~~ %bar # means: \@foo ~~ \%bar
@foo |M| %bar # means: scalar(@foo) |M| scalar(%bar)
If you want the C<< \@foo ~~ \%bar >> behaviour, you need to add
_tags = map { sprintf("%03d", $_) } ( 1..999 );
for my $tag (@all_tags) {
next if $tag ~~ @tags || $tag == '410'; # On passe, déjà traité plus haut
my @fields = $sudoc->field($t
sub {
my ($self, $record) = @_;
# Suppression des champs SUDOC dont on ne veut pas dans le catalogue
$record->fields( [ grep { not $_->tag ~~ @todelete } @{$record->fields} ] );
};
1;
cket header
my $length = 20 + length($attributes);
# generate new sequential id if not given (one byte size)
my $req_id = $h{request_id} // ($request_id++) & 0xff;
# RFC3579 Message
e, $f],
'point' => [$x,$y]
'repeat' => $boolean
)
A six element list may be given (C<matrix>) for a
further transformation matrix:
$a = cos(rot) * scale factor for X
$b
in the
indicated order>.
A matrix of 6 values may also be given (C<matrix>). The transformation matrix
is updated.
A C<point> may be given (a point to be multiplied [transformed] by the
completed m
d, to define a
# rectangular outline.
# $grfx is graphics context, non-dummy if 'outline' option given (draw outline)
#
# TBD: what to do if any line too short to use?
sub _get_column_outline {
= $pdf->get_font() # Get
$font = $pdf->get_font(%info) # Set
=over
If no parameters are given (C<@current = $pdf-E<gt>get_font()>), a list
(array) is returned giving the I<current> font setti
t been explicitly set, the
current font will be the default font.
If at least one parameter is given (C<%info> hash), the font manager will
attempt to discover the appropriate font (from within the