=for apidoc
Sets the list of directories where the lm looks for language files. If no dirs
are given (empty list) then the search path is cleared, if C<undef> is passed
then the search path is reset
doc
Sets the list of directories where the manager looks for style scheme files. If
no dirs are given (empty list) then the search path is cleared, if C<undef> is
passed then the search path is reset
ets are blue</p>
<h2>Strikethrough</h2>
<p><em>source</em>:</p>
<pre class="hljs"><code>~~Mistaken text.~~</code></pre>
<p><em>result</em>:</p>
<p><del>Mistaken text.</del></p>
<div class="footn
esult*:
Roses are red
Violets are blue
## Strikethrough
*source*:
```
~~Mistaken text.~~
```
*result*:
~~Mistaken text.~~
MARKDOWN
author_id => $admin->user_id,
});
$schema->resultset('
whether the left operand
is in the list of the right operands or not like:
$left->value($eval) ~~ map { $_->value($eval) } @{$right}
=head1 INHERITANCE
SQL::Statement::Operation::Contains
IS
en->@*) # Children of parent
{unwrap $c if $c->key ~~ $parent->key; # Unwrap child if like parent
}
$parent
self->rating( $args{'rating'}
|| '(PICS-1.1 "http://www.classify.org/safesurf/" 1 r (SS~~000 1))'
);
$self->copyright( $args{'copyright'} || "" );
$self->docs( $args{'docs'} ||
is book I<Refactoring>.
=head1 METHODS
=head2 buildCondition
Builds a condition object from a given (part of a) where clause. This method
calls itself recursively for I<predicates>.
=head1 AUTHOR
t-to-right order with
respect to the starting positions.
$str = "abracadabra";
if $str ~~ m:overlap/ a (.*) a / {
@substrings = slice @(); # bracadabr cadabr dabr br
}
=i
str = "abracadabra";
if $str ~~ m:exhaustive/ a (.*?) a / {
say "@()"; # br brac bracad bracadabr c cad cadabr d dabr br
}
Note that the C<~~> above can return as soon as the f
ke the old
C<\A> and C<\z>. (The C</m> modifier is gone.) On the right side of
an embedded C<~~> or C<!~~> operator they always match the start/end
of the indicated submatch because that submatch is
.\w+/ );
if ( -f && !/^\./ && !/\~$/ ) {
if ( m|(\w+)\.(\w+)$| ) {
if ( $2 ~~ @types ) {
push @rec_files, $File::Find::name;
}
}
}
}
#=====
om extents of the page text.
=head2 get_extents_from_selection
Return extents on the page text given (start, end) pointer locations.
=head2 text_at_point
Return (block, line, char) for page text u
$r = shift;
return $r ~~ ["\n", "\t", "\r", ' '];
}
sub is_upper {
my $r = shift;
return $r ~~ ['A' .. 'Z'];
}
sub is_lower {
my $r = shift;
return $r ~~ ['a' .. 'z'];
}
sub
r = shift;
return $r ~~ ['0' .. '9'];
}
sub is_xdigit {
my $char = shift;
return 1 if is_digit($char);
return 1 if $char ~~ ['a' .. 'f'];
return 1 if $char ~~ ['A' .. 'F'];
retur
~~ ['a' .. 'z', 'A' .. 'Z', '_'];
}
sub is_words {
my $r = shift;
return 1 if is_digit($r);
return 1 if is_alpha($r);
return 0;
}
sub is_hspace {
my $h = shift;
return $h ~~
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$role_reqs
.
format INHERIT_POD =
=head1 NAME
@*
$mycl
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTR_NARROW
$handles
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTRHEAD_POD =
=head1 ATTRIBUTES
.
format ATTR_POD =
with the following keys:
=over 4
=item * input
B<input> is the datetime string the parser was given (if using multiple
specifications and an overall I<preprocess> then this is the date after it's
b
provided default is an allowed value
# Otherwise silently unset it
if ($default && !($default ~~ @allowedvals)) {
$default = '';
}
}
# Loop until we get valid input
my $input;
my $msg =
{default=>$default, prompt=>$msg, type=>$type, required=>$required});
} while ($input && !($input ~~ [ map {"$_"} @allowedvals ] || $input eq ''));
# Spawn a new handler if that's what the user cho
he list";
do {
$input = &prompt({prompt=>$msg, type=>'integer'});
} while ($input && !($input ~~ [ map {"$_"} @allowedvals ] || $input eq ''));
return $input;
}
=head2 printlist
Print arbitra
say q[You forgot to specify release version];
return;
}
if ( "$new_ver" ~~ $self->{dist}->releases ) {
say qq[Version $new_ver is already released];
return;
s .= "($_->[1])" if defined $_->[1]; # add layer encoding
$layers .= ':utf8' if 'UTF8' ~~ $_->[2]; # add :utf8 layer, if defined
}
my $fileno = eval { fileno $_[0] };
pu
to ambiguity of tilde C<~> character as used for bitwise negation operator, smartmatch operator C<~~>, or regular expression C<=~>
~(-8) # 7
~(-2) #
r>
#!/usr/bin/env perl
# Learning RPerl, Chapter 6, Exercise 1
# Accept one input given (first) name, and print the corresponding family (last) name
# [[[ HEADER ]]]
use RPerl;
barney => 'rubble',
wilma => 'flintstone'
};
print 'Please input a given (first) name in all lowercase, then press <ENTER>:', "\n";
my string $given_name = <STDIN
#!/usr/bin/env perl
# Learning RPerl, Chapter 6, Exercise 1
# Accept one input given (first) name, and print the corresponding family (last) name
# [[[ HEADER ]]]
use RPerl;
use strict;
use warnings
ne',
barney => 'rubble',
wilma => 'flintstone'
};
print 'Please input a given (first) name in all lowercase, then press <ENTER>:', "\n";
my string $given_name = <STDIN>;
or (not defined $names->{$given_name})) {
croak 'ERROR: No family (last) name found for given (first) name ', $given_name, ', croaking', "\n";
}
print 'The family (last) name of ', $
$self = $type;
$type = $self->{type};
}
croak "Invalid type '",$type,"' given (should be one of ",join(" ",keys %$TYPES),")" unless $TYPES->{$type};
# Hash comes afte
elsif (/\G ((?>\s+)|\#.*) /oxgc) { return $1; }
# if (, elsif (, unless (, while (, until (, given (, and when (
# given, when
# P.225 The given Statement
# in Chapter 15: Smart Matc
Operators
# of ISBN 978-0-596-00492-7 Programming Perl 4th Edition.
# (and so on)
# ~~
# P.221 The Smart Match Operator
# in Chapter 15: Smart Matching and given-when
# of
-0-596-00492-7 Programming Perl 4th Edition.
# (and so on)
elsif (/\G ((?>
!~~ | !~ | != | ! |
%= | % |
&&= | && | &= | &\.= | &\. | & |
-= |