|Do you know where your variables are?|
Question on IO::UnCompress::GunZip...by biswanath_c (Beadle)
|on Jan 17, 2010 at 01:23 UTC||Need Help??|
biswanath_c has asked for the
wisdom of the Perl Monks concerning the following question:
I have a requirement like this:
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
What would be the fastest approach to find this out?