Tangen...gument(3pm)

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

πŸ’– Tangence::Meta::Argument πŸ’–

okay bestie, welcome to Tangence::Meta::Argument β€” it's a little Perl module that lives in the User Contributed Perl Documentation corner of your manpages, and it's literally just here to hold info about one single argument of a Tangence class method or event. that's it. that's the whole job. πŸŽ€

it's a data structure object, so it's a thing that stores stuff. and here's the slay part: once you construct one of these, it is immutable. you cannot change it. it's set in stone, it's giving carved-in-marble, no takebacks, periodt. πŸ”₯


✨ CONSTRUCTOR ✨

🌸 new 🌸

$argument = Tangence::Meta::Argument->new( %args )

returns a brand new instance, all initialised and cute, using the args you hand it. 🫢

  • name => STRING β€” the name of the argument πŸ’…
  • type => STRING β€” the type of the argument, given as a Tangence::Meta::Type reference πŸ¦‹

🌈 ACCESSORS 🌈

πŸ’œ name

$name = $argument->name

returns the name of the class. yes bestie, it says class, that's literally what the page says, i am just the messenger πŸ™ˆ

⭐ type

$type = $argument->type

returns the type, and it comes back to you as a Tangence::Meta::Type reference ✨


πŸ‘‘ AUTHOR πŸ‘‘

Paul Evans <leonerd@leonerd.org.uk> β€” the icon, the legend, the main character who wrote this πŸ’–


and that's the whole page, no cap. this was Tangence...gument(3pm) from the User Contributed Perl Documentation, sitting on perl v5.40.0 and dated 2024-09-13 β€” so go forth, construct your arguments, and remember: immutable means immutable, bestie. πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from