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

Attribute - a single attribute

API

new ( key, value, prefix )

Create a new attribute node.

getName

Returns the key for the attribute

getValue / getData

Returns the value

getPrefix

Returns the prefix

toString

Generates key="value", encoded correctly.