Compress::Zlib for UNCOMPRESSED output

Discussion in 'Perl' started by ixtahdoom, Jun 15, 2004.

  1. ixtahdoom

    ixtahdoom Guest

    Hello,

    I like Compress::Zlib, but I can't seem to make it generate an
    uncompressed output file. If I specify zero compression in the second
    parameter, it still prints a binary header if I try to write an ASCII
    file. How do I avoid this so that I can write zipped/unzipped ASCII
    depending on the filename extension?

    Thanks,
    ixtd
     
    ixtahdoom, Jun 15, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony
    Replies:
    0
    Views:
    1,668
  2. Mike
    Replies:
    1
    Views:
    1,350
    John Harrison
    Aug 3, 2003
  3. ngoc

    error in Compress-Zlib-1.32

    ngoc, Dec 16, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    261
  4. Graham Wood
    Replies:
    2
    Views:
    220
    Graham Wood
    Jun 26, 2004
  5. Horst Walter
    Replies:
    0
    Views:
    185
    Horst Walter
    Sep 6, 2004
  6. Mr. No Address

    Problem with Compress::Zlib

    Mr. No Address, Sep 9, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    160
    Mr. No Address
    Sep 10, 2004
  7. odigity

    Compress::Zlib vs. external gzip call

    odigity, Oct 27, 2004, in forum: Perl Misc
    Replies:
    6
    Views:
    351
    odigity
    Oct 28, 2004
  8. Replies:
    1
    Views:
    214
Loading...