[lug] unzip froma pipe
John Hernandez
John.Hernandez at noaa.gov
Thu Sep 2 14:35:07 MDT 2004
Jason Davis wrote:
> Hello,
> I have read the man page for unzip. I did not see a flag to read from
> STDIN. Is this possible?
>
> I have a zip file stored as a perl string. I would like to open a pipe
> to unzip and pipe the string into it.
>
> Thanks,
> jd
>
A couple options:
Try the Archive::Zip module at
http://search.cpan.org/~nedkonz/Archive-Zip-1.13/
or try using a named pipe if a file specification of - won't work.
--
| John Hernandez - NOAA Boulder NOC - 303-497-6392
| Mailstop R/OM62. 325 Broadway, Boulder, CO 80305
| PGP Public Key ID: 586A7E23
More information about the LUG
mailing list