From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Comment - an XML comment: <!--comment-->

API

new ( data )

Create a new comment node.

getValue / getData

Returns the value in the comment

toString

Returns the comment with -- encoded as a numeric entity (if it exists in the comment text).