Skip to content

Commit

Permalink
Fix a typo in the C<< ... >> construct in the XML::Twig article
Browse files Browse the repository at this point in the history
C<< ... >> needs spaces around its argument.
  • Loading branch information
choroba committed Jan 2, 2025
1 parent 1f0cf9d commit 285709a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2024/articles/2024-12-09.pod
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ you want to parse a string that contains whole XML document then you could use C


In order to access guest tags, we first need to obtain guestList, which is the root of this
XML document. The C<<$twig->root>> method returns the direct parent of all other elements. On the
XML document. The C<< $twig->root >> method returns the direct parent of all other elements. On the
other hand, the C<children> method returns list of elements. The method can take an optional
argument. If a string is passed to the method, XML elements that match the string will be fetched;
otherwise, all elements of the current root will be fetched in document order. The returned list
Expand Down

0 comments on commit 285709a

Please sign in to comment.