EBook::...ntainer(3)
π NAME π
EBook::EPUB::Container β bestie, this is the lil' container baddie that holds all your EPUB stuff together π
β¨ SYNOPSIS β¨
It's an abstract OEPBS Container implementation, so you don't call it directly-call it, you use it like this:
my $container = EBook::EPUB::Container->new()
$container->add_path('/path/to/content.ncx', 'DATA/content.ncx');
$container->add_path('/path/to/page1.xhtml', 'DATA/page1.xhtml');
$container->add_path('/path/to/page2.xhtml', 'DATA/page2.xhtml');
$container->add_root_file('DATA/content.ncx');
See how it's giving β¨organizedβ¨? That's the whole vibe.
πΈ SUBROUTINES/METHODS πΈ
Okay so here's the roster, no gatekeeping π«Ά
new()β makes you a brand new instance of anEBook::EPUB::Containerobject. Fresh start, main character energy πadd_path($file_path, $container_path)β takes a file that already exists and drops it into the container. Glow up, but for files π¦add_encrypted_path($container_path)β marks the file at$container_pathas encrypted. Heads up bestie: the file should already be encrypted and added β this function is literally just here to slap the "encrypted" label on it, that's it, that's the whole job πadd_root_path($container_path)β sets the file in the container to be the root file. The head honcho. The it-girl of files π
π AUTHOR π
Oleksandr Tymoshenko, <gonzo@bluezbox.com> β iconic, we stan π
π BUGS π
Found a bug? Got a feature request? Please report any bugs or feature requests to <gonzo@bluezbox.com> β don't be shy, spill the tea π
β 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. Periodt. π
And that's the whole page, bestie β this beauty ships with perl v5.42.0 and it's dated 2025-07-25. Slay, go build something cute ππ
π¦ 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