Tangen...::Event(3pm)

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

πŸ¦‹ Tangence::Meta::Event β€” the whole vibe

okay bestie, so this is Tangence::Meta::Event, a lil Perl module living under the Tangence::Meta namespace, and it's literally the data structure that represents one single Tangence event. πŸ’…


✨ NAME ✨

Tangence::Meta::Event β€” structure representing one Tangence event πŸŽ€


🌸 DESCRIPTION 🌸

so picture this: this data structure object holds all the info about one Tangence class event. that's it, that's the job. 🫢

and here's the iconic part β€” once you construct one of these bad boys, it is immutable. like, frozen. locked in. no take-backs, no edits, no "wait bestie let me change that". it's giving main character who already made her decision. πŸ‘‘


πŸ’– CONSTRUCTOR πŸ’–

new ✨

$event = Tangence::Meta::Event->new( %args )

returns a brand new instance, all set up with whatever args you handed it. 🧚

the args are:

  • class => Tangence::Meta::Class β€” a reference to the containing class πŸ‘‘
  • name => STRING β€” the name of the event ⭐
  • arguments => ARRAY β€” optional ARRAY reference, and it holds arguments as Tangence::Meta::Argument references 🌈

πŸŽ€ ACCESSORS πŸŽ€

class πŸ’œ

$class = $event->class

hands you back the class this event is a member of. 🫢

name πŸ“

$name = $event->name

returns the name of the class. yes bestie, that's what it says. πŸ’€

arguments πŸ¦‹

@arguments = $event->arguments

returns the arguments as a list of Tangence::Meta::Argument references. so many lil argument besties. 😭

argtypes πŸ”₯

@argtypes = $event->argtypes

returns the argument types as a list of strings. short, sweet, slay. ✨


🌈 AUTHOR 🌈

Paul Evans <leonerd@leonerd.org.uk> β€” the icon, the legend, the actual author πŸ’–


and that's the whole page, bestie! no cap, we made it to the end. πŸŽ‰

this was Tangence::Meta::Event from the User Contributed Perl Documentation, running on perl v5.40.0, dated 2024-09-13 β€” mwah, periodt. πŸ’…πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from