SWISS::CC(3pm)

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

πŸ’– SWISS::CC.pm πŸ’–

okay bestie, so this is SWISS::CC, a Perl module that's literally the main character of comment handling ✨. We're in SWISS::CC.pm territory and it's giving very organized, very coder-girl energy.


🌸 DESCRIPTION 🌸

So here's the tea β˜•: SWISS::CC represents a comment on a single topic inside a SWISS-PROT or TrEMBL entry, exactly as specified in the user manual at http://www.expasy.org/sprot/userman.html 🫢.

Every single comment gets stored in its own separate object β€” and the type of that object is either SWISS::CC itself or some other type, depending on what its topic is. (peep SWISS::CCs for more info, iykyk πŸ’…).

And then β€” plot twist β€” all those comments, of every type, get collected together inside a SWISS::CCs container object. It's giving "one big group chat for all the comments" energy, fr fr. πŸŽ€


πŸ¦‹ INHERITS FROM πŸ¦‹

SWISS::BaseClass.pm β€” yeah she gets all her base traits from there, iconic behavior honestly πŸ‘‘


✨ ATTRIBUTES ✨

  • topic β€” the topic of this comment 🏷️. Like, what's this comment even about bestie.
  • form β€” the protein form that's concerned by this comment. And listen closely: undef/empty means canonical/displayed form OR unknown 🌈. So if it's empty, it's one of those two things β€” the code isn't telling you which, and we're not guessing πŸ™ˆ.
  • comment β€” the actual text of this comment πŸ“. The words. The content. The moment.

πŸ’… METHODS πŸ’…

⭐ Standard methods ⭐

  • new β€” constructor behavior, standard stuff, she's built different 😌
  • fromText β€” parses one of these bad boys out of text πŸ“–
  • toString β€” returns a string representation of this comment πŸ”₯. That's it, that's the whole job, and she does it flawlessly.

no cap, every attribute and method here is doing exactly what it says β€” nothing more, nothing less πŸ’œ

perl v5.32.1 Β· 2021-08-15 Β· and yes, this whole page is SWISS::CC(3pm) 🫢✨ mwah, go read your entries bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from