The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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).