SWISS::OSs(3pm)

πŸ“¦
version 1.80 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

🌸 SWISS::OSs 🌸

okay bestie, gather round, because we're talking about SWISS::OSs β€” a Perl module from the User Contributed Perl Documentation, no less. it's giving ✨niche but essential✨, and honestly? we're obsessed.


πŸ’– NAME πŸ’–

SWISS::OSs β€” say it with me, it's the OS-line handler and it ate πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, SWISS::OSs is the whole vibe for representing the OS lines inside an SWISS-PROT + TrEMBL entry, exactly as specified in the user manual over at

http://www.expasy.org/sprot/userman.html

The OSs object is a container object β€” think of it as the cute little tote bag that holds a list of SWISS::OS objects πŸŽ€ she's not doing the work herself, she's holding space for the ones who are.

n.b. entries from distinct species are not merged anymore, so OSs will therefore only contain one OS. (OS is still divided into a list of OS elements to keep compatibility with old code!) β€” yes bestie, the list is basically a solo act now, but the list format stayed for the legacy girlies 🫢

πŸ‘‘ INHERITS FROM πŸ‘‘

SWISS::ListBase.pm β€” she gets her whole list-girl structure from here, periodt.


🌈 ATTRIBUTES 🌈

  • "list" β€” every single list element in here is a SWISS::OS object. that's it, that's the attribute πŸ’œ

πŸ”₯ METHODS πŸ”₯

⭐ Standard methods ⭐

the classics, the icons, the ones you already know and love:

  • new
  • fromText
  • toText

and that's the whole page, bestie!! no cap, every flag and every detail stayed exactly where it belongs πŸ’…βœ¨

perl v5.32.1 Β· 2021-08-15 Β· SWISS::OSs(3pm) β€” mwah, sending you off with a lil sign-off from your favorite manpage narrator πŸŽ€πŸ’– slay responsibly πŸ¦‹

πŸ“¦ where this page comes from