EBook::...:Itemref(3)
β¨ NAME β¨
okay bestie, say hi to EBook::EPUB::Spine::Itemref π β that's the whole vibe, that's the name, no notes.
(it's a Perl module, fr, and the manual page you're holding is living under User Contributed Perl Documentation, written for perl v5.42.0 π
)
π¦ SYNOPSIS π¦
Itemref for <spine> element of OPF file.
like. that's it. that's the whole teaser. it's giving "small but important", and honestly? iconic. β¨
π SUBROUTINES/METHODS π
π new(%opts)
not me making a whole new object π«Ά. %opts is an anonymous hash that might contain the following keys:
linear(0 or 1)idhref(string)
that's the menu, pick your toppings, lowkey build a spine item. π
πΈ encode($xmlwriter)
encode the object into XML form, using an XML::Writer instance. so like, this is where your cute little object turns into actual XML. no cap. β¨
β idref([$href])
get/set the reference to an OPS Content Document that's included in the manifest. read it if you pass nothing, set it if you pass something β the classic get-or-set situation, iykyk. π₯
π linear([$linear])
get/set the linear property. so here's the tea: if $linear is true, the document is primary π. otherwise it's auxiliary β think appendix, notes, etc., the little side characters of your book π.
π AUTHOR π
Oleksandr Tymoshenko, <gonzo@bluezbox.com> π β credit where credit is due, periodt.
π BUGS π
found a bug? want a feature? please report any bugs or feature requests to <gonzo@bluezbox.com> π«Ά. don't suffer in silence bestie, send the email.
π§ 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. πβ¨
fr fr, read the LICENSE file, it's right there in the distribution, don't skip it π
and that's the whole page bestie π β this masterpiece was served up as part of User Contributed Perl Documentation, chillin' under perl v5.42.0, dated 2025-07-25 π slay, go forth and build your spines π¦
π¦ 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