I have a bunch of .gz files each having a huge text file containing multiple lines separated by "\n". Now, I would like to use IO::UnCompress::Gunzip module and find out how many lines (separated by "\n") exactly does each text file (each compressed into a separate .gz file) contain. How do i do it?
Again, i do not really want to read the contents of the file; I just want to know how many lines are there inside the text file