Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
perl OPEN function and zlessby legendx (Acolyte) |
on Jul 14, 2011 at 20:43 UTC ( [id://914436]=perlquestion: print w/replies, xml ) | Need Help?? |
legendx has asked for the wisdom of the Perl Monks concerning the following question:
Hello, Is is possible to use the zless utility and Perl's open function to read a gzipped file? I tried using open and piping to zless but that did not work. Ultimately, I would like to read a gzipped file line by line with a while loop without unzipping it such as:
Back to
Seekers of Perl Wisdom
|
|