EBook::EPUB::Guide(3)
π EBook::EPUB::Guide β the perl manpage, but make it cute π
okay bestie, so this is EBook::EPUB::Guide, a page from the User Contributed Perl Documentation. it lives in the perl manual pages, section 3, and it's all about one lil' class that holds the guide element of an OPF document. iconic behavior, honestly. π
β¨ SYNOPSIS β¨
Class that represents guide element of OPF document
that's it. that's the whole vibe. a class. it represents the guide element. we love a one-line synopsis that doesn't overexplain. π
πΈ DESCRIPTION πΈ
so the guide element is the part of your publication that's like "hey, here are the fundamental structural components of this book," which lets Reading Systems give readers convenient access to them. it's giving helpful tour guide energy. π§
all those structural components? they get listed out in reference elements that live inside the guide element. and those components can point at stuff like the table of contents, the list of illustrations, the foreword, the bibliography, and literally so many other standard parts of a book. the whole classic lineup. π
β οΈ important caveat, no cap: Reading Systems are not required to use the guide element in any way. so likeβ¦ it's optional-optional. don't come for it if nothing happens. π
if you wanna go deeper, check section 2.6 of the OPF specification. iykyk. π₯
π SUBROUTINES/METHODS π
add_reference(%opts)β adds areferenceto theguideelement.%optsis an anonymous hash, and for the possible key values you should go peek atEBook::EPUB::Guide::Reference. that's where the tea is. πall_references()β returns an array ofEBook::EPUB::Guide::Referenceobjects, aka the current content of theguideelement. all of them. every single one. β¨encode($xmlwriter)β encodes the object into XML form using anXML::Writerinstance. you hand it the writer, it does the encoding. simple as. π¦new()β creates a new object. the classic. the moment of birth. main character origin story. π
π AUTHOR π
Oleksandr Tymoshenko, <gonzo@bluezbox.com>
π BUGS π
found a bug? want a feature? please report any bugs or feature requests to <gonzo@bluezbox.com>. they wanna hear it, fr fr. don't be shy. π
π LICENSE AND COPYRIGHT π
Copyright 2009, 2010 Oleksandr Tymoshenko.
This module is free software; you can redistribute it and/or modify it under the terms of the BSD license. See the LICENSE file included with this distribution. π
and that's the whole page, bestie!! this was pulled from perl v5.42.0, dated 2025-07-25, and it's the EBook::EPUB::Guide(3) manpage. slay, go build some epubs, ily π«Άπβ¨
π¦ where this page comes from
- fedora 43: perl-EBook-EPUB 0.6-39.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms