g_build_program( prologue, body )
Builds program for current chosen language. If no prologue is given
(I<undef>), the default headers are used. If body is missing, default
body is used.
Typical call
print "# ~~ Standard testing\n" unless $QUIET;
push @errors, $system->( 'prove', @args );
}
if ( $testing_mode =~ /^(extended|both|1|2)$/i ) {
$ENV{EXTENDED_TESTING} = 1;
print "# ~~ Extended
=head2 translate ($string, $language)
Returns the translation of C<$string> in the C<$language> given (or in
the current language if C<$language> is C<undef>).
=head2 language_tables
Returns the ac
ormation' }
},
},
get '/judge/:judge_name' => { ... };
If the key C<example> is given (instead of C<examples> as defined by the Swagger specs),
and the serializer used by the applica
or store
my $store = $self->assetpack->store;
return
unless $self->enabled || $format ~~ ['html', 'json'];
DEBUG && diag "Process topic [%s]", $topic;
#~ return unless $self->enabl
~ my $format = $collect->[0]->format;
#~ return
#~ unless $self->enabled || $format ~~ ['html', 'json'];
$content = $collect->map('content')->map(sub { /\n$/ ? $_ : "$_\n" })-
goto &$old_warn_handler if $old_warn_handler;
warn( @_ );
}
};
use overload '~~' => \&over_go;
#use overload '>>' => \&over_go_assign;
sub over_go_assign {
$_[0]->{assign};
: $ret ~~ $_go_self->{rest};
}
else {
return $_go_self->{ by }
? $_go_self->{rest}->{code}->( @$ret )
: $ret ~~ $_go_self->{rest}
1, 2, 3 ] ~~ go { say $_ };
# 1
# 2
# 3
# hashes with $a and $b
%h ~~ go { say "key $a, value $b" };
undef ~~ go {
# never gets called...
};
'' ~~ go {
}
else {
return;
}
}
chomp(my @songs = <$fh>);
close($fh);
return ($file ~~ @songs) ? 1 : 0;
}
sub remove_favorite {
my $query = shift;
return if !defined($query);
t
ions of 'tar' (1.21 and up) now print record size
### to STDERR as well if v OR t is given (used to be both). This
### is a 'feature' according to the changelog, so we must now
is function returns a string containing the (english) abbreviation
of the ordinal number for the given (cardinal) number "C<$number>".
I.e.,
0 => '0th' 10 => '10th' 20 => '20th'
5data} = Digest::MD5->new )->add("\000$qstring\001")
if defined $qstring;
if ( $method ~~ [ 'GET','HEAD' ] ) {
$fname .= "-".$file{md5data}->hexdigest if $file{md5data};
goto TRY_FNAME;
.
Thus if I<where> is B<se> then the lower-right corner of
I<$slave>'s border will appear at the given (x,y) location
in the master.
The anchor position defaults to B<nw>.
=item B<-width> => I<size>
gzFile fp() { return m_fp; }
private:
gzFile m_fp;
};
/*
* Binary read the given (array of) object(s) from the compressed file.
* If the input file was not in gzip format, read(
}
private:
gzFile m_fp;
ostrstream* m_os;
};
/*
* Binary write the given (array of) object(s) into the compressed file.
* returns the number of uncompressed bytes actual
.
Thus if I<where> is B<se> then the lower-right corner of
I<$slave>'s border will appear at the given (x,y) location
in the master.
The anchor position defaults to B<nw>.
=item B<-bordermode> => I<m
o drawbacks:
#
# 1. It iterates over entire statement tree no matter what arguments are
# given (see Apache/Admin/Config.pm, lines 417-439)
# 2. It makes unnecessary memory allocations (ibid.
indicator(
'task' => q{generate},
'pos' => 0,
'target' => ~~ @locales,
)
);
while ( my $locale = shift @locales ) {
$package = ucfir
it.
If there are no alternatives, then only the primary accession will
be given (if there is one).
Returns : list of all accession numbers in the description
Args : none
=
eturn ($x,$y);
}
=pod
=item location
Returns the list (latitude,longitude) of a location at a given (x,y)
displacement from a given location.
my @loc = $geo->location( $lat, $lon, $x, $y )
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
=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
$data ne 'ARRAY') {
die sprintf q{Unable to initialize disk directory: Invalid arguments given (expected %d bytes)}, $expected_data_size;
}
unless (scalar (@{$data}) == $expected_data
ctors eq 'ARRAY') {
die sprintf q{Unable to initialize disk directory: Invalid arguments given (expected %d sectors)}, $expected_sectors_size;
}
unless (scalar (@{$sectors}) == $expec
items eq 'ARRAY') {
die sprintf q{Unable to initialize disk directory: Invalid arguments given (expected up to %d items)}, $expected_items_size;
}
unless (scalar (@{$items}) <= $expec