nacredata has asked for the wisdom of the Perl Monks concerning the following question:

Is there a module that can uncompress a set of several files saved as one .lzh file? I'm building a utlility that needs to open text files stored in this bundled/compressed format. From what I gather online it is an old Dos/windows format that can be opened on windows with the utlity "lha", but I need to do the extraction from within perl on a Linux machine. Thanks!

Replies are listed 'Best First'.
Re: Uncompressing LZH Files?
by matija (Priest) on Mar 19, 2004 at 07:12 UTC
    There is a linux version of lha. However, I don't know of a Perl interface to it - you'll have to call it from system
      Yes, thanks. I was able to download and install Linux lha and this does seem to work: my $expand = qx/lha -e 'filename.LZH'/; so, good enough, I guess..