Tangen...::Field(3pm)

πŸ“¦
version 0.33 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Tangen...::Field(3pm) πŸ’–

okay bestie, welcome to the Tangen...::Field(3pm) page β€” it's part of the User Contributed Perl Documentation and it's genuinely so cute and small. let's get into it 🫢


✨ NAME ✨

Tangence::Meta::Field β€” it's the structure representing one Tangence structure field. that's it, that's the whole vibe. πŸ‘‘


🌸 DESCRIPTION 🌸

so like, this data structure object stores information about one field of a Tangence structure. one field. just the one. it knows its business and it's not nosy about anything else.

and here's the iconic part: once constructed, such objects are immutable. periodt. πŸ’… no take-backs, no edits, no "actually can we changeβ€”" nope. it is what it is, forever, and honestly? respect. πŸ”₯


πŸŽ€ CONSTRUCTOR πŸŽ€

new

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

Returns a new instance initialised by the given fields. like, you hand it some args and it hands you back a whole fresh field object. slay. ✨

  • name => STRING β€” Name of the field. that's the field's name, bestie, it's giving identity πŸ¦‹
  • type => STRING β€” Type of the field as a Tangence::Meta::Type reference. so it's the type, but as a reference to a Tangence::Meta::Type. lowkey important, don't skip it πŸŽ€

🌈 ACCESSORS 🌈

name

$name = $field->name

Returns the name of the field. yes, the name. the one you gave it. it remembers. πŸ’–

type

$type = $field->type

Return the type as a Tangence::Meta::Type reference. returns it. as a Tangence::Meta::Type reference. that's the whole thing, no notes 🌸


πŸ‘‘ AUTHOR πŸ‘‘

Paul Evans <leonerd@leonerd.org.uk> β€” absolute icon, we love him, no cap πŸ’œ


and that's the page fr fr!! this was perl v5.40.0, dated 2024-09-13, and it's giving main character energy from start to finish. go build some immutable fields bestie, you got this πŸ§šπŸ’–βœ¨

πŸ“¦ where this page comes from