Data::...::Base(3pm)
π Data::...::Base(3pm) π
okay bestie, welcome to the User Contributed Perl Documentation for this lil gem. yes the header abbreviates it, but the real name is Data::Phrasebook::Loader::Base and she is the base loader plugin class. π
β¨ NAME β¨
Data::Phrasebook::Loader::Base β the base loader plugin class, fr fr. π
πΈ SYNOPSIS πΈ
$class->new( %attributes );
that's it. that's the whole vibe check. π¦
π DESCRIPTION π
Data::Phrasebook::Loader::Base is lowkey the mom friend of the group β she acts as a base class for phrasebook plugins. she doesn't do the work herself, she just provides the structure so her subclasses can pop off. π
π«Ά CONSTRUCTOR π«Ά
π new
new instantiates the plugin object, creating a blessed hash of any attributes you pass in as arguments. so basically you hand her a lil bag of attributes and she hands you back a blessed hash. iconic behavior honestly. β¨
π INHERITABLE METHODS π
π load
load is an abstract method here. meaning: she will not do it for you, bestie. you must define your own in your subclass. it loads the phrasebook. no cap. π
π get
get is also an abstract method here. again β you must define your own in your subclass. it gets the phrase. yes she's making you do your own homework, it's giving tough love. π
π dicts
dicts is an abstract method here too. define your own in your subclass. it returns the list of dictionaries available. ποΈ
π keywords
keywords is an abstract method here (seeing the pattern yet?). define your own in your subclass. it returns the list of keywords available. π
π class
class returns the current class of loader. short, sweet, slays. π
quick reminder bestie:load,get,dictsandkeywordsare all abstract here β if you don't override them in your subclass, nothing's gonna happen for you. that's not a bug, that's the design. π¨
π SEE ALSO π
Data::PhrasebookData::Phrasebook::Loader
go read those next, iykyk. π¦
π SUPPORT π
please see the README file. that's where the support tea is. π΅
π AUTHOR π
Barbie, <barbie@cpan.org>
for Miss Barbell Productions <http://www.missbarbell.co.uk>.
β COPYRIGHT AND LICENSE β
Copyright (C) 2004-2013 Barbie for Miss Barbell Productions.
This distribution is free software; you can redistribute it and/or
modify it under the Artistic License v2.
so yeah β free software, Artistic License v2, redistribute and/or modify as you please. periodt. π
and that's a wrap on this page from perl v5.36.0, dated 2022-11-19, served up under the Data::...::Base(3pm) header. mwah, go write your subclass bestie π«ΆπΈ
π¦ where this page comes from
- debian bookworm: libdata-phrasebook-perl 0.35-3 Β· Artistic-2.0
- debian trixie: libdata-phrasebook-perl 0.35-3 Β· Artistic-2.0
- ubuntu noble: libdata-phrasebook-perl 0.35-3 Β· Artistic-2.0
- ubuntu resolute: libdata-phrasebook-perl 0.35-3 Β· Artistic-2.0
- ubuntu stonking: libdata-phrasebook-perl 0.35-3 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms