in reply to Re: Compress::Zlib : what to do with the "in memory" data ?
in thread Compress::Zlib : what to do with the "in memory" data ?
The resulting file is a valid gz file.open FFF, "<fu.txt" or die "$!" ; binmode FFF ; $gz = gzopen("fu.txt.gz", "wb") or die "gzerror" ; while ($buffer = <FFF>) { $gz->gzwrite($buffer) } close FFF ; $gz -> gzclose ;
But, i have a problem here : what i need to obtain is a .Z file and not a .gz .
This might not be mandatory, but the resulting file is sent to someone else and i'll have to check if his programs can deal with a .gz .
Do you know if Compress::Zlib will allow me to create a .Z file ? For exemple with inflate / deflate ? Or is zlib for gz compression only ?
Thanks a lot,
ZlR .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Compress::Zlib : what to do with the "in memory" data ?
by iburrell (Chaplain) on Jan 08, 2005 at 00:32 UTC | |
by ZlR (Chaplain) on Jan 08, 2005 at 13:23 UTC |