he value of a 2D Gaussian function with mean 0
and standard deviation sig at the given (x,y) point.
!*/
// ---------------------------------------------------------------------
t void *buffer, png_int_32 row_stride,
const void *colormap));
/* Write the image to the given (FILE*). */
/* With both write APIs if image is in one of the linear formats with 16-bit
* d
t = ();
while (
$content =~ /[PATHWAY]*\s+ko(\d*)\s*(.*)/gm )
{
if ( !( $1 ~~ @idKEGG ) && $1 ne "" ) {
$workAroundSort{$2} = $1;
push @idKEGG, $1;
t = ();
while (
$content =~ /[PATHWAY]*\s+ko(\d*)\s*(.*)/gm )
{
if ( !( $1 ~~ @idKEGG ) && $1 ne "" ) {
$workAroundSort{$2} = $1;
push @idKEGG, $1;
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$role_reqs
.
format INHERIT_POD =
=head1 NAME
@*
$myclass
=he
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTR_NARROW =
$handles
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTRHEAD_POD =
=head1 ATTRIBUTES
.
format ATTR_POD =
=head2 C<
{ }
** unless (e) { } elsif (e) { } else { }
! ~ \ u+ u- given (e) { when (e) {} default {} }
=~ !~
* / % x NUMBERS vs STRINGS FALSE vs
== != eq ne
< > <= >= lt gt le ge < > <= >= lt gt le ge
== != <=> eq ne cmp ~~ <=> cmp
&
| ^ МОДИФИКАТОРЫ REGEX МЕТАСИМВОЛ
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$role_reqs
.
format INHERIT_POD =
=head1 NAME
@*
$myclass
=he
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTR_NARROW =
$handles
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~~
$handles
.
format ATTRHEAD_POD =
=head1 ATTRIBUTES
.
format ATTR_POD =
=head2 C<
gs
return $r1 eq $r2;
}
}
elsif( $ref1 eq $ref2 ) {
if ( $ref1 ~~ [qw(Regexp GLOB CODE)] ) {
return $r1 eq $r2;
}
elsif ( $ref1 eq 'ARRA
$ref1 eq 'HASH' ) {
return _equal_hashes( $r1, $r2 );
}
elsif ( $ref1 ~~ [qw(SCALAR REF)] ) {
return are_equal($$r1, $$r2);
}
else {
($r1, $r2) = @_;
# Hashes can't be equal unless their keys are equal.
return unless ( %$r1 ~~ %$r2 );
# Compare the equality of the values for each key.
foreach my $key (keys %$r1) {
e;
$self->_fasta;
$self->_strand;
}
sub _build_strand {
my $self = shift;
my $strand_sub;
given ($self->strand_bias) {
when ('plus') { $strand_sub = sub {1} }
when ('minus') { $strand_su
acklist;
for my $id (keys %$indexed_fasta) {
my $index_size = $indexed_fasta->{$id}{size};
given (ref $self->fastq) {
when ('App::SimulateReads::Fastq::SingleEnd') {
my $read_size = $self
vedb($self->expression_matrix);
}
sub _build_seqid_raffle {
my $self = shift;
my $seqid_sub;
given ($self->seqid_weight) {
when ('same') {
my @seqids = keys %{ $self->_fasta };
my $seqids_
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
END_FORMAT
formline(<<'END_FORMAT', $errortext);
~~ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
END_FORMAT
print {
| ~~ |^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|
END_FORMAT
my $TRACECONTEXT_FORMAT = <<'END_FORMAT';
@>|@|||||||||@ |^<<<<<<<<<<<<<<<<<<<<<<<<<<<
| ~~
for ($task, @more_tasks) {
$this->do($_);
}
return $this;
}
given (ref $task) {
when ('CODE') {
return $this->_add(OP_CODE, $task);
}
n't be
# surprised by shared state.
for my $key (keys %task) {
my $task;
given (ref $task{$key}) {
when ('CODE') {
$task = __PACKAGE__->new();
OP_CATCH and OP_ENDTRY.
# This limitation should help user to avoid subtle bugs.
given ($opcode) {
when (OP_CODE) {
return $param[0]->($this, @result);
Moose
DBIx::Class
----
Modern
Perl?
----
perl5
v10
----
given ($x) {
when (3) {
...
----
~~
----
what's the
opposite?
----
Old
Perl?
----
if it
wor
(1)
----
~~
----
~~@x
----
~(~(@x))
----
bitwise
negation
----
so ...
----
~@x
->
~(scalar @x)
----
~~$number
->
$number
----
~~@x
->
-MMoose -e'print ~~keys %INC'
84
----
overload::constant
----
lets you
affect
parsing
----
numbers
strings
----
q qq qr
t s qw
----
i18n.pm
----
~~"$foo bar"
loc(
erformance counts of hits, false-alarms, misses & correct rejections
## from what has just been given (just initialised)
## e.g., number of hits from the given number of signal-trials and misses:
s
eletion> from I<BRANG> to I<BANG>).
I<Identical strings>: If two identical letter strings are given (I<BANG>, I<BANG>), they are defined as I<not> being orthons: the number of index identical chara
>. It will be calculated from C<xydata>.
=item C<fit(time_limit =E<gt> 3)>
If a time limit is given (in seconds), C<fit()> will spend no more than that long trying to fit the data. It may return i
tom see_ast is_exported);
use Spp::Builtin;
sub is_type {
my $str = shift;
return $str ~~ [
'Str', 'Int', 'Bool', 'Cursor',
'Lint', 'Array', 'Ints', 'Hash',
'
y $chars = [];
my $mode = 0;
for my $ch (split '', $json) {
if ($mode == 0) {
given ($ch) {
when ('[') { push @{$chars}, In; }
when (']') { push @{$chars}, Out; }
$mode = 2;
}
}
}
}
elsif ($mode == 1) {
given ($ch) {
when ('"') { $mode = 0 }
when ("\\") { $mode = 3 }
default {
e
$i2c->write( $addr, $data_out )->get
Performs an I²C write operation to the chip at the given (7-bit) address
value.
The device sends a start condition, then a command to address the chip fo
$data_in = $i2c->read( $addr, $len_in )->get
Performs an I²C read operation to the chip at the given (7-bit) address
value.
The device sends a start condition, then a command to address the chip fo
I²C write operation followed by a read operation within the same
transaction to the chip at the given (7-bit) address value. This is roughly
equivalent to performing separate calls to L</write> and L
my $value = %extra{$key};
my $temp_key = ucfirst(lc($key));
$temp_key ~~ s:P5:g/[-_](\w)/-$0.uc()/;
given $key {
when "Target" { $header ~= "W
ing is copy) returns Str {
my $latin = ?(uc $!CHARSET ~~ "ISO-8859-1"|"WINDOWS-1252");
$string ~~ s:P5:g/&([^;]*);/{
given (lc $0) {
when "amp" { "&" }
when
aram)) -> $value {
my $esc_val = self.escapeHTML($value);
$esc_val ~~ s:g/\n/<br \/>\n/;
take("<li>$esc_val </li>");
}
take("</u
# now try to get it processing again
MogileFS::ProcManager->ProcessQueues;
}
}
# given (job, pid), record that this worker is about to die
# $level is so we can tell if watchdog reques
lename=>'/etc/passwd');
};
# syntax for Perl >= 5.10
use feature 'switch';
if ($@) {
given (my $e = Exception::Base->catch) {
when ($e->isa('Exception::IO')) { warn "IO problem"; }
'} = 'to_string';
=item "~~"
Smart matching operator. See C<matches> method.
eval { Exception::Base->throw( message=>"Message", value=>123 ) };
print "Message" ~~ $@;
# 1
print ['Exception::Base'] ~~ $@; # 1
print 123 ~~ $@; # 1
print {message=>"Message", value=>123} ~~ $@; # 1
Warning: The smart operato