>{v}} //= { urls => [] };
push @{ $releases{$p->{v}}{urls} }, $url
unless $url ~~ $releases{$p->{v}}{urls};
}
\%releases;
#[map {{ version=>$_, $releases{$_} }}
#
]} @e;
}
# create proxy functions
for my $e (@e) {
next if @$inc && !($e->[0] ~~ @$inc);
# get metadata if not yet retrieved
unless ($e->[2]) {
$res =
if no request has been made.
=cut
sub get_status {
my $self = shift;
my $answer;
given ( $self->get_raw_status ) {
$answer = undef when 0;
$answer = 1 when 200;
//;
my $level = $1;
$level = "error" unless $level ~~ @logging_levels;
my $logger_name = "log_$level";
n
nst 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
* data
';
while (my $line = $reader->getline($MAX_LINE_LENGTH)) {
# save text if no languages are given (for blacklists)
unless (exists $options{langs} || exists $options{assumed}){
if ( length($
=> "feature",
};
} elsif(!(@{$features{$id}{transcript_ids}} ~~ $trans_id)) {
push(@{$features{$id}{transcript_ids}},$trans_id);
}
if(!define
name => 'smartmatch',
code_template => 'use experimental "smartmatch"; <needle> ~~ @main::<haystack:raw>',
},
],
datasets => [
{name => '100 items' , args =>
:raw>)
=item * smartmatch (perl_code)
Code template:
use experimental "smartmatch"; <needle> ~~ @main::<haystack:raw>
=back
=head1 BENCHMARK DATASETS
=over
=item * 100 items
=item * 10k
my ( $self, $id, $value ) = @_;
my $pos = $self->{row}->{pos};
my $row;
#if ($id ~~ @{$self->{rocols}}){
$self->{log}
->debug( "set_field: rocols: " . join( " ", @{ $self->
elf->{fieldsRel}->{$id};
$rel = ( $rel ? $rel : "" );
my $key = $rel . $id;
#if ($key ~~ @{$self->{rocols}}){
if ( grep( /^$key$/, @{ $self->{rocols} } ) ) {
$self->{log}->deb
estbinsubdir);
# remove pod2html cache files; 5.6 uses ".x~~" and 5.8 uses ".tmp" extensions
unlink("pod2htmd.$_", "pod2htmi.$_") for qw(x~~ tmp);
# copy all GIF files from docs directy to html tree
to_save) {
#my $name = $field->{name};
# if ( $field->{name} ~~ @{$self->{cols}})
if ( defined $self->{hcols}->{$name} ) {
e=$tmp",
"--outfile=$htm",
);
# remove pod2html cache files; 5.6 uses ".x~~" and 5.8 uses ".tmp" extensions
unlink("pod2htmd.$_", "pod2htmi.$_") for qw(x~~ tmp);
BuildTools::rm_f($tmp);
exit(0);
{
$self->{log}->debug( "Processing field " . $fieldname );
#if ( $sql_fieldname ~~ @pk) {
if ( grep ( /\b$fieldname\b/, @pk ) ) {
my @keys = keys %new_values;
trol>, I<shift> and I<alt>.
Several prefixes may be combined, but must appear in the order just given
(so for example B<S_C_A> would be illegal).
=back
Alternatively, key specifications may also fo
return unless $value;
$name = $params{index}.'. '.$name
if $params{index};
given (ref $value) {
when('') {
$table->row($name,$value);
}
when('
-else Structure
the next 2 program sequences will do the same thing: will read the input and
given( <STDIN> ) {
when ( 'virus' ) { say 'the whole file is virus' }
when ( /\Avirs/ ) { say 'the
will be $_ ~~ (...)
my $_ = <STDIN>;
if ( $_ ~~ 'Fred' ) { say 'the whole file is virus' }
elsif ( $_ ~~ /\Avirus/ ) { say 'the file name starts with a virus' }
elsif ( $_ ~~ /virus/ )
se { say "this file is clean" }
On the other hand, if we write this way
given( <STDIN> ) {
when ( /virus/ ) { say 'the file is corrupt'; continue }
when ( 'virus' ) { say
############
# SYNOPSIS Screen Output
# 01: <?xml version="1.0"?><Styles><Style ss:ID="Default"/ ~~ / ss:ID="s22"><Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="14" ss:Color="#000000"
######
ef; sometimes its a list of DCAT objects, sometimes a listref of strings
unless (ref($values) ~~ /ARRAY/){ # some properties return listrefs, others return just a string or an object
$values
print STDERR $object, "\n";
next unless ($object); # might be undef
if ((ref($object) ~~ /FAIR/) && $object->can('_toTriples')) { # is it a FAIR object? if so, unpack it
my $toConn
x but does <=> leg cmp .. ..^ ^.. ^..^
C Chaining infix != == < <= > >= eq ne lt le gt ge ~~ === eqv !eqv
X Tight and &&
X Tight or || ^^ // min max
R Conditio
ns:
$target ~~ MyType S& *.mytest1 S& *.mytest2
This is useful when later tests might throw exceptions if earlier
tests don't pass. This cannot be guaranteed by:
$target ~~ MyType & *.myte
sifiable than the right:
$target ~~ *.mycheaptest S| *.myexpensivetest
This is also useful when you want to perform tests in order
of safety:
$target ~~ MyType S| *.mysafetest S| *.mydanger