GO::Model::Path(3pm)

πŸ“¦
version 0.15 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– GO::Model::Path πŸ’–

okay bestie, listen. this is a Perl manual page β€” GO::Model::Path(3pm), from the User Contributed Perl Documentation corner of the world β€” and it's literally just vibes about paths. no cap. let's get into it πŸ¦‹


✨ NAME ✨

GO::Model::Path β€” it's giving path between two nodes. that's it. that's the whole name. slay πŸ’…


✨ SYNOPSIS ✨

okay so this section is... empty. genuinely nothing here. the manpage said "no thoughts, head empty" πŸ™ˆ so we move on, respectfully.


✨ DESCRIPTION ✨

so GO::Model::Path represents a path between two nodes in a graph. like, you've got your graph, you've got two nodes, and this object is the little trail of breadcrumbs connecting them. main character energy fr fr πŸ‘‘

TODO: have the path be built of relationships rather than terms, so we can get the edgetypes in here

^^^ that's a note straight from the source, bestie, not me editorialising. it's a "one day we'll fix this" situation 🫢


  • Usage β€” (nothin', it's blank)
  • Returns β€” arrayref of alternating type, GO::Model::Term
  • Args β€” (also blank, iconic)

link_list is the one that knows the ordered list of terms in the path β€” it gets and sets that list. so when you call it to set, you're handing over the itinerary; when you call it to get, it hands it right back to you πŸŽ€

psst, also: GO::Model::Term is the type doing the heavy lifting in there. iykyk.


🌈 term_list

  • Usage β€” (blank)
  • Returns β€” arrayref of GO::Model::Term
  • Args β€” (blank)

literally the same energy as above, except this one hands you back the arrayref of terms, no alternating types in the mix. clean, simple, obsessed ✨


πŸ¦‹ length

  • Usage β€” print $path->length
  • Returns β€” int
  • Args β€” (blank)

length tells you how long the path is. you print it, you get an int back. number goes in, number comes out, no drama πŸ’œ


⭐ to_text

  • Usage β€” (blank)
  • Returns β€” (blank)
  • Args β€” (blank)

the usage, return and args are all empty on this one. the manpage is not being mysterious on purpose, bestie, that's just how it's written. 🌈


πŸ’€ duplicate

  • Usage β€” (blank)
  • Returns β€” (blank)
  • Args β€” (blank)

same situation β€” all three fields are blank. so we're just vibing with a method name and no paperwork πŸ™ˆ


🫢 sign-off 🫢

and that's the whole page! it's documented as perl v5.36.0, dated 2023-12-18, and it lives under the title GO::Model::Path(3pm) from the User Contributed Perl Documentation collection. periodt. go forth and traverse your little graph paths, queen πŸ’…πŸ‘‘βœ¨

πŸ“¦ where this page comes from