DOKK / manpages / debian 11 / libtangence-perl / Tangence::Meta::Field.3pm.en
Tangence::Meta::Field(3pm) User Contributed Perl Documentation Tangence::Meta::Field(3pm)

"Tangence::Meta::Field" - structure representing one "Tangence" structure field

This data structure object stores information about one field of a Tangence structure. Once constructed, such objects are immutable.

   $field = Tangence::Meta::Field->new( %args )

Returns a new instance initialised by the given fields.

name => STRING
Name of the field
type => STRING
Type of the field as a Tangence::Meta::Type reference

   $name = $field->name

Returns the name of the field

   $type = $field->type

Return the type as a Tangence::Meta::Type reference.

Paul Evans <leonerd@leonerd.org.uk>

2021-04-30 perl v5.32.1