Tangen...operty(3pm)
β¨ Tangence::Meta::Property β¨
okay bestie so this is Tangence::Meta::Property π
it lives in the User Contributed Perl Documentation, and it's literally just a little data-structure object that holds all the deets about one Tangence class property π and the way that once you've constructed it, it's immutable β like, it's done, it's frozen, no takebacks, periodt π₯
π DESCRIPTION π
This data structure object stores information about one Tangence class property. Once constructed, such objects are immutable.
so yeah β one property, one object, all the info, and after that? she's locked in π no editing, no glow-up, she is what she is π
π οΈ CONSTRUCTOR π οΈ
new
$property = Tangence::Meta::Property->new( %args )
Returns a new instance initialised by the given arguments.
here's the tea on the args, you're gonna pass them as a hash %args and every single one of them matters π
class=> Tangence::Meta::Class β reference to the containing class, i.e. who's her parent, her home base πname=> STRING β the name of the property. yes she has a name, use it πdimension=> INT β dimension of the property, as one of theDIM_*constants from Tangence::Constants πtype=> STRING β the element type as a Tangence::Meta::Type reference π₯ (yes, it says STRING, that's what the page says, and we do not rewrite the facts in this house)smashed=> BOOL β optional bestie! if true, it marks that the property is smashed π₯
π ACCESSORS π
class
$class = $property->class
Returns the class the property is a member of π«Ά
name
$name = $property->name
Returns the name of the class β¨
yes i know it says "name of the class" and you're like wait isn't this the property's name β that's literally what the original says so i'm keeping it fr fr, no notes π
dimension
$dimension = $property->dimension
Returns the dimension as one of the DIM_* constants π
type
$type = $property->type
Returns the element type as a Tangence::Meta::Type reference π¦
overall_type
$type = $property->overall_type
Returns the type of the entire collection as a Tangence::Meta::Type reference π and here's the breakdown because it's lowkey the most interesting one:
- For scalar types this will be the element type.
- For dict types this will be a hash of the array type.
- For array, queue and objset types this will a list of the element type.
(that last sentence is verbatim, "this will a list", we do not fix the typo, we respect the ancestors π)
smashed
$smashed = $property->smashed
Returns true if the property is smashed π₯
πΈ AUTHOR πΈ
Paul Evans <leonerd@leonerd.org.uk> β king behaviour honestly π
and that's the whole page bestie, no cap π
so this was Tangence::Meta::Property, page Tangen...operty(3pm) (yes the title got cut off like that, that's just how the man page header do π), rendered from perl v5.40.0 dated 2024-09-13 β perl version five point four oh point oh, September thirteenth, twenty twenty-four π go forth and inspect your properties, they're immutable and they're iconic, mwah π
β¨
π¦ where this page comes from
- ubuntu resolute: libtangence-perl 0.33-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtangence-perl 0.33-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms