Tangence::Meta::Struct(3pm) | User Contributed Perl Documentation | Tangence::Meta::Struct(3pm) |
"Tangence::Meta::Struct" - structure representing one "Tangence" structure type
This data structure stores information about one Tangence structure type. Once constructed and defined, such objects are immutable.
$struct = Tangence::Meta::Struct->new( name => $name )
Returns a new instance representing the given name.
$struct->define( %args )
Provides a definition for the structure.
$defined = $struct->defined
Returns true if a definition of the structure has been provided using "define".
$name = $struct->name
Returns the name of the structure
@fields = $struct->fields
Returns a list of the fields defined on the structure, in their order of definition.
Paul Evans <leonerd@leonerd.org.uk>
2022-12-13 | perl v5.36.0 |