my $content = ' <tr> <td align="center" width="8%">8:30</td> <td align="center" width="23%"><a href="http://www.yapcchicago.org/the-schedule/monday/m-abstracts#am830">Conferences for Beginners</a><br><small>Jim Brandt, brian d foy</small></td> <td colspan="3" align="center" bgcolor="#3f3f3f" width="69%">—</td> </tr> <tr> <td align="center" width="8%">9:00</td> <td align="center" width="23%"><a href="http://www.yapcchicago.org/the-schedule/monday/m-abstracts#am900">Opening Ceremonies</a><br><small>Josh McAdams</small></td> <td colspan="3" align="center" bgcolor="#3f3f3f" width="69%">—</td> </tr> ';
is(~($content ~~ m/<speaker>/), 'tr', 'read token from grammar namespace');
$content = '<title>Exactly</title> aosihdas <small>/small aosidh <small>/small aosidh <small>/small aosidh <small>/small';
/small
is($content ~~ m/<title>/, '<title>Exactly</title>', 'match token');
# XXX this can't work this way # 'schedule' is a rule (non-backtracking) so the implicit <.ws> will always # match zero characters. #?rakudo todo 'test error is($content ~~ m/<schedule>/, $content, 'match rule');
# vim: ft=perl6
2 POD Errors
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'width="69%">—</td>'. Assuming UTF-8
Deleting unknown formatting code A<>
Deleting unknown formatting code D<>
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.