NAME
EBook::Gutenberg - Fetch ebooks from Project Gutenberg
SYNOPSIS
use EBook::Gutenberg;
my $gutenberg = EBook::Gutenberg->init;
$gutenberg->run;
DESCRIPTION
EBook::Gutenberg is a module that provides the core functionality for the gutenberg utility. This is developer documentation, for gutenberg user documentation you should consult its manual.
METHODS
- $gut = EBook::Gutenberg->init()
-
Reads
@ARGV
and returns a blessedEBook::Gutenberg
object. - $gut->run()
-
Runs gutenberg based on the parameters processed in
init()
. - $gut->update
-
Update local Project Gutenberg catalog; the
update
command. - $gut->search
-
Search for ebooks; the
search
command. - $gut->get
-
Download an ebook; the
get
command. - $gut->meta
-
Print ebook metadata; the
meta
command. -
Launch the dialog(1)-based menu interface.
- $gut->help([$exit])
-
Print gutenberg manual. Exit with code
$exit
if provided.
AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.
This project's source can be found on its Codeberg page. Comments and pull requests are welcome!
COPYRIGHT
Copyright (C) 2025 Samuel Young
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.