Bio::B...lioBase(3pm)

πŸ’– NAME πŸ’–

okay so bestie, welcome to Bio::Biblio::BiblioBase β€” it's the abstract base for other biblio classes 🫢 like, the mother of all the biblio data storage classes, fr fr. You do not instantiate her. She's the blueprint, not the building. πŸ‘‘

✨ VERSION ✨

This is version 1.70, no cap. πŸŽ€

🌸 SYNOPSIS 🌸

# do not instantiate this class directly
Literally do not do it. She said what she said. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this is a base class, and every other biblio data storage class inherits from it. It does not reflect any real-world object β€” it's not giving "actual thing that exists," it's giving "convenient little home for shared code." It exists purely for convenience, so all the shared stuff has somewhere to live. Periodt. πŸ’…

πŸŽ€ Accessors

All attribute names can be used as method names. That's the whole vibe. So when you call one of these methods without any parameter, it hands you back the current value of the attribute (or undef if there's nothing there, rip). But when you call it with a value, it sets the attribute to that value and returns it back to you β€” like a lil boomerang. πŸͺƒ

Oh and the set method is lowkey a hater: it also checks whether the type of the new value is actually correct. Type check before you wreck. βœ…

🧚 Custom classes

If you're feeling creative and need some brand-new attributes, bestie, make your own class β€” and it usually inherits from Bio::Biblio::Ref. For new types of providers and journals though, let your class inherit directly from this Bio::Biblio::BiblioBase class. Main character energy only. 🌈


πŸ”₯ METHODS πŸ”₯

new

The new() class method constructs a new biblio storage object. It accepts a list of named arguments β€” and those names are the same as the attribute names, just prefixed with a minus sign. The available attribute names are listed in the documentation of the individual biblio storage objects. Go read those, iykyk. πŸ“š


πŸ’€ INTERNAL METHODS πŸ’€

Heads up bestie: these are internal. Look but don't touch, okay? πŸ™ˆ

_accessible

This method should not be called here; it should be implemented by a subclass. Not her job. Not today. πŸ’…

_attr_type

This method should not be called here; it should be implemented by a subclass. Same energy. βœ‹

AUTOLOAD

Deal with 'set_' and 'get_' methods. That's it, that's the job. 🎯

_wrong_type_msg

Set methods test whether the incoming value is of a correct type; here we return a message explaining it. So when the type is wrong, she tells you why. Constructive criticism, iconic behavior. πŸ’–

Probably just for debugging. TBD: to decide... πŸ‘€ like she hasn't made up her mind yet and honestly? Relatable. πŸ“


🫢 FEEDBACK 🫢

Mailing lists

User feedback is an integral part of the evolution of this and other Bioperl modules. So like, if you have thoughts, send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated, fr fr. πŸ₯Ή

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

Support

Please direct usage questions or support issues to the mailing list:

bioperl-l@bioperl.org

rather than to the module maintainer directly. Why? Because many experienced and reponsive experts will be able look at the problem and quickly address it. Bestie, don't DM the maintainer, post in the group chat. πŸ’¬

Please include a thorough description of the problem with code and data examples if at all possible. Receipts matter. 🧾

Reporting bugs

Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:

https://redmine.open-bio.org/projects/bioperl/

Authors

Martin Senger <senger@ebi.ac.uk> 🌟

This software is Copyright (c) by 2002 European Bioinformatics Institute and released under the license of the same terms as the perl 5 programming language system itself.


and that's the whole page, bestie, you ate that πŸ’…βœ¨

This page is from perl v5.36.0, dated 2023-02-14 β€” yeah, a Valentine's Day release, we love a romantic king. πŸ’– Mwah, bye! πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from