if ($picture =~ /~/) {
$supress_line_if_all_fields_empty = 1;
if ($picture =~ /~~/) {
$repeat_line_until_all_fields_exhausted = 1;
}
$picture =~ s/~/ /g
r [ $^A, $v, defined($v) ];
$^A = "";
$v = "1234567";
formline( "~~ xxx ^< xxx", $v );
print "PRF::fl: ~~ ", Dumper [ $^A, $v, defined($v) ];
}
{
$^A = "";
CORE::formline(
esn't care how many newlines
are embedded in the PICTURE. This means that the "~" and "~~"
tokens treat the entire PICTURE as a single line. You may
therefore need
nfix:<...>' => { fix => 'infix', prec => 13, str => ' ... ' },
'infix:<~~>' => { fix => 'infix', prec => 13, str => ' ~~ ' },
'infix:<&&>' => { fix => 'infix', prec => 14, str => ' && ' },
class();
if ( bless != null ) {
// TODO - right side is object: invoke ~~ overloading on Object, or die
}
}
if (arg2.is_array()) {
/
-X",
# dereferencing => '${} @{} %{} &{} *{}',
# matching => '~~',
# special => 'nomethod fallback =',
#
# TODO: new error message:
l eq "str_cmp";
$native = "x" if $perl eq "string_replicate";
$native = "~~" if $perl eq "smartmatch";
" public static PlObject overload_${perl}(PlObject o, PlObject othe
{body}->stmts, needs_return => 0, create_context => 1 );
# TODO - transform EXPR into ($_ ~~ EXPR)
# this is a placeholder - this is wrong!
my $expr = Perlito5::AST::Apply->n
ill create a font object using the default font.
=head1 EXAMPLES
perl -MText::FIGlet -e 'print ~~Text::FIGlet->new()->figify(-A=>"Hello World")'
To generate headings for webserver directory listi
< ><<< _(_)(_)(_) / >>>
| | /** a8P_____88 ><< (_) >> >>>
| | |~~\ /** 8PP""""""" ><< (_) >>>>>>>>
_/ | |__/ /** "8b, ,aa ><< (_)_ _ _
n;
}
sub node_level($self,$token) {
$token = $self->podname($token);
first_index { $token ~~ @$_ } $self->all_levels;
}
sub parse_pod($self, $end_cond = undef ) {
while( my $token = $sel
e structure of the directory tree (including symbolic
links to directories) you might traverse a given (physical) directory
more than once (only if C<follow_fast> is in effect).
Furthermore, deleting
, "", 0.0, 0.0,{0,0,0.0}}
#ifdef PM3D
typedef struct {
int opt_given; /* option given / not given (otherwise default) */
int closeto; /* from list FILLEDCURVES_CLOSED, ... */
double at;
such that no two objects
of that class will have the same 'id'. If there are no id_by properties
given (including MyClass above that doesn't have _any_ properties), then an
implicit 'id' property will
ed without any arguments after the time-out
elapsed and the port is C<kil>ed.
If no time-out is given (or it is C<undef>), then the local port will
monitor the remote port instead, so it eventually g
ue) ~~ $matrix->SetAttribute("BGCOLOR30:10", $value)
$matrix->MatAttribute("ALIGNMENT", 10, $value) ~~ $matrix->SetAttribute("ALIGNMENT10", $value)
$v = $matrix->GetAttribute("BGCOLOR30:10") ~~ $v
al set and get functions:
$matrix->MatCell(30, 10, $value) ~~ $matrix->SetAttribute("30:10", $value)
$v = $matrix->MatCell(30, 10) ~~ $v = $matrix->GetAttribute("30:10")
=head1 EXAMPLES
The
g;
my $c2c = $c2->content;
if ($c2c ~~ @ll || $c2c ~~ @llf) {
$match++;
}
my $c2c = $c2->content;
if ($c2c ~~ @isll) {
$match++;
nless ref $data ~~ [qw/HASH ARRAY/];
my $current = shift;
my $type = $current->{'type'};
my $val = $current->{'val'};
if (ref $data eq 'HASH') {
given ($type) {
default { return undef }
}
}
elsif (ref $data eq 'ARRAY') {
given ($type) {
when ('SLICE') {
my @slice = @$data[@$val];
ata;
}
# for $val_pat we do grep at array or hash loops
return $data unless ref $data ~~ [qw/ARRAY HASH/];
# If we have been already visited this ref
$visited //= {};
return
;
}
given( $type ) {
when([ "GLOB", "CODE", "STASH" ]) {
table_add( $table, "Stashname", textarea( $sv->stashname ) ) if defined $sv->stashname;
}
}
given( $type ) {
add( $table, "Output fileno", textarea( $sv->ofileno ) ) if $sv->ofileno != -1;
}
}
given( $type ) {
when([ "SCALAR", "REF", "ARRAY", "HASH", "STASH", "CODE" ]) {
table_add
my $data = $extra->render->( $sv );
defined $data or next;
my $widget;
given( $extra->type ) {
when( "widget" ) { $widget = $data }
when( "text" ) { $widg
}) } keys %$a;
}
$elem;
}
=head2 _XPC [ %NS | \%NS ]
Return an XPath context with the given (optional) namespaces
registered.The XHTML namespace is registered by default with the
prefix C<h
@_;
my ($name,$atoms) = flat($rule);
if (not($name ~~ ['Any','Str','Char','Cclass','Assert','Chclass','Nclass','Blank'])) {
given ($name) {
when ('Ctoken') {
lint_spp_token
toms)} ]);
}
sub opt_spp_atom {
my $atom = shift;
my ($name,$value) = flat($atom);
given ($name) {
when ('Spec') {
return opt_spp_spec($value);
}
when ('Rule') {
pt_spp_ep($char));
}
sub opt_spp_ep {
my $str = shift;
my $char = last_char($str);
given ($char) {
when ('n') {
return "\n";
}
when ('r') {
return "\r";
eturn estr('Nclass',estr_strs($atoms));
}
sub opt_spp_catom {
my ($name,$value) = @_;
given ($name) {
when ('Cclass') {
return opt_spp_cclass($value);
}
when ('Range')
$head_str = '';
for my $expr (@{atoms($exprs)}) {
my ($name,$value) = flat($expr);
given ($name) {
when ('package') {
InContext($t,$value);
$head_str = package_t
urn $strs;
}
sub atom_to_perl {
my ($t,$atom) = @_;
my ($name,$args) = flat($atom);
given ($name) {
when ('Cursor') {
return exprs_to_perl($t,$args);
}
when ('Lint')
}
my $iter_str = atom_to_perl($t,$iter_atom);
my $type = GetAtomType($t,$iter_atom);
given ($type) {
when ('Str') {
return "my $loop (split '', $iter_str)";
}
when ('
match ) {
$end--;
}
}
#warn "return $start .. $end";
#warn "$size ~~ " . ( $end - $start );
return ( $start, $end );
}
=head2 get_window_tokens( I<pos> [, I<size
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