in reply to running shell commands from within perl
open (my $in, '-|', 'gzip -dc compressed_file.gz') || die "Can't run gzip: $!"; while (<$in>) { # Process the line of output } close $in; [download]