June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,4 +1,3 @@
|
|||
use v6;
|
||||
use XML;
|
||||
|
||||
my $xml = from-xml '<Students>
|
||||
|
|
@ -11,4 +10,4 @@ my $xml = from-xml '<Students>
|
|||
<Student DateOfBirth="1993-09-10" Gender="F" Name="Émily" />
|
||||
</Students>';
|
||||
|
||||
say .<Name> for $xml.nodes.grep(*.name eq 'Student')
|
||||
say .<Name> for $xml.nodes.grep(/Student/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue