EBook::...eference(3)
π NAME π
EBook::EPUB::Guide::Reference β bestie, this is the lil' glow-up class that handles the <guide> element in an OPF file. She's the reference girlie. She knows where everything is. Periodt. π
β¨ SYNOPSIS β¨
She's your reference for the <guide> element of an OPF file. That's the whole vibe check. π¦
πΈ SUBROUTINES/METHODS πΈ
π
new(%opts)
Okay so you're making a new one, and %opts is an anonymous hash that might contain these keys (might!! she's flexible):
type
href
title
π₯ encode($xmlwriter)
Encode the object into XML form using an XML::Writer instance. Hand her the writer, she does the rest. Iconic behavior honestly.
π«Ά href([$href])
Get/set the reference to an OPS Content Document included in the manifest β and yes she can carry a fragment identifier, exactly as defined in section 4.1 of RFC 2396. She's got range. π
π title([$title])
Human-readable description of the reference. Just a cute lil' label so humans know what's up.
π type([$type])
Get/set the type of the reference. Possible values, no cap:
covertitle-pagetocindexglossaryacknowledgementsbibliographycolophoncopyright-pagededicationepigraphforewordloilotnotesprefacetext
For the detailed description, go read section 2.6 of the OPF specification, or the Chicago Manual of Style. She said iykyk. π
π AUTHOR π
Oleksandr Tymoshenko, <gonzo@bluezbox.com> π
π¦ BUGS π¦
Found a bug? Got a feature request? Please report it to <gonzo@bluezbox.com>. Don't suffer in silence bestie, tell the author fr fr π
π 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. Slay, legally. π
And that's the whole page, bestie β this doc was hanging out in the perl v5.42.0 crew, dated 2025-07-25, filed under EBook::...eference(3). Read it, love it, ship it. πβ¨π«Ά
π¦ 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