[lug] unzip froma pipe

Jason Davis mohadib at openactive.org
Thu Sep 2 15:09:52 MDT 2004


On Thu, 2004-09-02 at 14:35, John Hernandez wrote:
> 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.

i tryed named pipes and - ... neither worked .. so i just wrote the
file out then unzipped.

thanks,
jd




More information about the LUG mailing list