- or download this
[% FOREACH file=files %]
[% IF ( matches = file.date.match('dd/mm/(\d+)') ) %]
<a href='#'>[% matches.0 %]</a>
[% END %]
[% END %]
- or download this
print ul(
li({-type=>'disc'},['Sneezy','Doc','Sleepy','Happy'])
);
- or download this
<ul>
<li type="disc">Sneezy</li>
...
<li type="disc">Sleepy</li>
<li type="disc">Happy</li>
</ul>
- or download this
use Rex -feature => ['1.0'];
desc "Get Uptime";
task "uptime", sub {
say run "uptime";
}
- or download this
CPX '3' ;# Year starts in March to bypass
BCS 'MARCH' ;# leap year problem
DEY ;# If Jan or Feb, decrement year
MARCH: EOR '$7F' ;# Invert A so carry works right
...