self->get_style_pen);
}
++$line;
}
}
=head2 render_line_number
Renders the given (zero-based) line number at the current
cursor position.
Subclasses should override this to prov
,
# Overload smart-match only if we're using 5.10 or up
(( $] >= 5.010 && $] < 5.041 ) ? ('~~' => "matches") : ()),
fallback => 1,
;
my $PACKAGE = __PACKAGE__; # Useful to have a scalar
{$PACKAGE}{eval_error}; }
=head3 matches
if ( $e->matches('open') ) { ... }
if ( 'open' ~~ $e ) { ... }
C<matches> is used to determine whether a
given exception matches a particular role.
See L<autodie/CATEGORIES> for further information.
On Perl 5.10 and above, using smart-match (C<~~>) with an
C<autodie::exception> object will use C<matches> underneath. This module
used to recomm
n::UpdateResourceResponse> instance
Updates the data access role used for vending access to the given
(registered) resource in AWS Lake Formation.
=head1 PAGINATORS
Paginator methods are helpers
ous::container/add - add new children>. It
adds one or more to the box. If a specific field is given (row and column),
this is used (unless it already contains something which produces an error).
Ot
0]" eq "$_[1]"},
'ne' => sub{"$_[0]" ne "$_[1]"},
'qr' => sub{qr{@{[quotemeta("$_[0]")]}}},
'~~' => 'explain',
fallback => 1,
);
# ATTRIBUTES
attr 'flags';
attr 'regexp';
attr 'string';
# B
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $search ~~ 'hello world';
# 1
=back
=head1 AUTHOR
'ne' => sub{$_[0]->{message} ne "$_[1]"},
'qr' => sub{qr/@{[quotemeta($_[0]->{message})]}/},
'~~' => 'explain',
fallback => 1,
);
# METHODS
sub new {
return bless({message => $_[1] || 'Exce
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $fault ~~ 'Exception!';
# 1
=back
=head1 AUTHORS
0]" + 0) >= ($_[1] + 0)},
'eq' => sub{"$_[0]" eq "$_[1]"},
'ne' => sub{"$_[0]" ne "$_[1]"},
'~~' => 'explain',
fallback => 1,
);
# ATTRIBUTES
attr 'day';
attr 'month';
attr 'year';
attr 'hou
;
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $date ~~ '570672000';
# 1
=back
=head1 AUTHORS
age Venus::Process;
use 5.018;
use strict;
use warnings;
use overload (
'""' => 'explain',
'~~' => 'explain',
fallback => 1,
);
use Venus::Class 'attr', 'base', 'with';
base 'Venus::Kind::U
# $pid
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $parent ~~ /^\d+$/;
# 1
=back
=head1 AUTHORS
Awn
0]" eq "$_[1]"},
'ne' => sub{"$_[0]" ne "$_[1]"},
'qr' => sub{qr{@{[quotemeta("$_[0]")]}}},
'~~' => 'explain',
fallback => 1,
);
# ATTRIBUTES
attr 'flags';
attr 'regexp';
attr 'string';
attr
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $replace ~~ 'hello universe';
# 1
=back
=head1 AUT
]"},
'ne' => sub{$_[0]->render ne "$_[1]"},
'qr' => sub{qr/@{[quotemeta($_[0]->render)]}/},
'~~' => 'explain',
fallback => 1,
);
# ATTRIBUTES
attr 'name';
attr 'context';
attr 'message';
att
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $error ~~ 'Exception!';
# 1
=back
=head1 AUTHORS
[1]"},
'ne' => sub{$_[0]->value ne "$_[1]"},
'qr' => sub{qr/@{[quotemeta($_[0]->value)]}/},
'~~' => 'explain',
fallback => 1,
);
# HOOKS
sub _exitcode {
$? >> 8;
}
# METHODS
sub assertio
;
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $path ~~ 't/data/planets';
# 1
=back
=head1 AUTH
[1]"},
'ne' => sub{$_[0]->value ne "$_[1]"},
'qr' => sub{qr/@{[quotemeta($_[0]->value)]}/},
'~~' => 'explain',
fallback => 1,
);
my $sep = qr/'|__|::|\\|\//;
# BUILDERS
sub build_arg {
my
;
# 1
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $name ~~ 'Foo/Bar';
# 1
=back
=head1 AUTHORS
Aw
]"},
'ne' => sub{$_[0]->render ne "$_[1]"},
'qr' => sub{qr/@{[quotemeta($_[0]->render)]}/},
'~~' => 'explain',
fallback => 1,
);
# ATTRIBUTES
attr 'markers';
attr 'variables';
# BUILDERS
s
m: <>"
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $template ~~ 'From: <>';
# 1
=back
=head1 AUTHORS
with 'Venus::Role::Stashable';
use overload (
'""' => sub{$_[0]->catch('error')->explain},
'~~' => sub{$_[0]->catch('error')->explain},
fallback => 1,
);
# ATTRIBUTES
attr 'frame';
attr 'na
ption!"
=back
=over 4
=item operation: C<(~~)>
This package overloads the C<~~> operator.
B<example 1>
# given: synopsis;
my $result = $throw ~~ 'Exception!';
# 1
=back
=head1 AUTHORS
roduce statistics on the difference of sets of random variables.
If a hypothesized difference is given
(with C<-h>), to does a Student's t-test.
Random variables are specified by:
=over 4
=item C<m
:Stream->new( $filename, %args );
Create a new C<BioX::Seq::Stream> parser. If no arguments are given (or if the
first argument given has an undefined value), the parser will read from STDIN.
Otherwi
; # same as $parser->fast(1);
$parser->fast(0);
Sets/unsets 'fast' mode. If a true valid is given (or no value at all),
certain validation steps during parsing are disabled for the sake of speed,
ative URI
reference, this function resolves it against either the given
base URI, if given (which is assumed to be an absolute URI)
or, if base URI not given, against the URI of the
ontinues until the entire expression is decomposed to it's atomic constituents.
## Protection is given(with $reusedRefs) to ensure that 'circular' references within
## arrays or hashes(i.e. where a me
ent is a relative URI reference, this function resolves it against either the given base URI, if given (which is assumed to be an absolute URI) or, if base URI not given, against the URI of the curren
$self->_base_offset,
root => $self->_root
);
}
{
my %is_legal_filter = map {
$_ => ~~1,
} qw(
store_key store_value
fetch_key fetch_value
);
sub set_filter