EBook::Ishmael::Unzip(3)

NAME
EBook::Ishmael::Unzip - Unzip Zip archives

SYNOPSIS
  use EBook::Ishmael::Unzip qw(unzip);

  unzip($zip, $out);

DESCRIPTION
EBook::Ishmael::Unzip is a module that provides the "unzip()" subroutine, which unzips a given Zip file to a specified directory. This is developer documentation, for ishmael user documentation you should consult its manual.

SUBROUTINES

$tmpdir = safe_tmp_unzip()
    Creates and returns a suitable temporary unzip directory. This function exists because Archive::Zip cannot unzip to some kinds of directories, like symlinked ones, which can be problematic on platforms such as Darwin where their /tmp directory is symlinked by default.

unzip($zip, $out)
    Unzips $zip to the $out directory. Returns 1 if successful.

AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.

This project's source can be found on its Codeberg Page <https://codeberg.org/1-1sam/ishmael>. 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.