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
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
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
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
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
@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
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
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"
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
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
_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;
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
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
# we're done by specific exit code
return $post->(@_)
if $set[0] ~~ $exit;
# continue monitoring
$monitor->(@set);
}
}
} #_monito
t
=head2 |>
a |> b
Returns the
=cut
=head2 ||
a || b
Returns the
=cut
=head2 ~~
a ~~ b
Returns the
Aliases: I<smartmatch>
=cut
=head2 ⫶
a ⫶ b
Returns the
=cut
=he
{previous}->{class} .= 'previous';
$base_args->{next}->{class} .= 'next';
}
given ( $build_args->{disable} ) {
my $dis = 'disabled';
when ('previous') {
t = Moonshine::Element->new($base_args);
for my $nav ( @{ $build_args->{navs} } ) {
given ( delete $nav->{nav_type} ) {
when ('nav') {
$base_element->add_child
my $form = $self->form($base_args);
for my $field ( @{ $build_args->{fields} } ) {
given ( delete $field->{field_type} ) {
when ('submit_button') {
$form->add