EBook::...ntainer(3)

πŸ“¦
version 0.6 Β· 2 versions
, in fedora 43

πŸ’– 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 an EBook::EPUB::Container object. 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_path as 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 πŸ™ˆ


Copyright 2009, 2010 Oleksandr Tymoshenko.

<http://bluezbox.com>

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