in reply to Re^4: Reading a .txt file under 2 levels of compression
in thread Reading a .txt file under 2 levels of compression
So, for example
This will uncompress the contents of the file "my.zip" and write the uncompressed data into the variable $inner.my $inner; unzip "my.zip" => \$inner; # remove all whitespace $inner =~ s/\s+//g; print $inner;
The code then makes use of the uncompressed data in this case to remove all whitespace, then print it.
|
|---|