SWISS:...yright(3pm)

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

πŸ’– SWISS::CCcopyright πŸ’–

okay bestie, listen up β€” this page is from the User Contributed Perl Documentation, section 3pm, and the star of the show is SWISS::CCcopyright. She's a little class module and she is iconic for exactly one job. Let's get into it. ✨


🌸 Name 🌸

SWISS::CCcopyright β€” that's her, that's the whole name, no notes. πŸ’…


πŸ¦‹ Description πŸ¦‹

So basically: SWISS::CCcopyright represents the copyright statement within the comments block of a SWISS-PROT entry, exactly as it's specified in the user manual over at:

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

And here's the vibe β€” collectively, comments of all types are stored inside a SWISS::CCs container object. So she's not out here alone, she's got a whole squad of comment objects around her. 🫢


🧚 Inherits from 🧚

  • SWISS::BaseClass.pm β€” yeah she gets her whole foundation from there, lowkey family tree moment 🌈

πŸŽ€ Attributes πŸŽ€

  • topic β€” the topic of this comment. And the topic is... 'Copyright'. That's it, that's the whole personality. πŸ‘‘

πŸ’… Methods πŸ’…

⭐ Standard methods ⭐

The classic trio, fr fr β€” every good object deserves these:

  • new
  • fromText
  • toText

πŸ“ Reading/Writing methods πŸ“

  • toString β€” returns a string representation of this comment. Like, hands you the comment as a string. Slay. ✨

ngl bestie, that's genuinely the whole page β€” every attribute, every method, nothing skipped, no cap. πŸ’–

mwah, bye! πŸŽ€

perl version v5.32.1, dated 2021-08-15 β€” that's the source, the version, and the date, all wrapped up with a bow. πŸ¦‹βœ¨πŸ’œ

πŸ“¦ where this page comes from