in reply to Re^7: Reading zipped files (.gz)
in thread Reading zipped files (.gz)

How can we use open to read .gz files. I can use to read after unzipping. But I dont want to unzip it. I want to read it directly without unzipping. Is there any modules to do like that???

Replies are listed 'Best First'.
Re^9: Reading zipped files (.gz)
by hippo (Archbishop) on Nov 18, 2015 at 10:36 UTC
    Is there any modules to do like that?

    Yes, there are several. Why not try PerlIO::gzip for starters?