in reply to Unzip file to scalar, treat scalar as a file

I'd use the funzip tool from Info-Zip package, just something like:

open my $log, "-|", "funzip", $zipFile; while(<$log>) { ... }

This tool just sends its output to stdout from there you can read it line-by-line as you want.