Skip to content

How to use the OO interface? #9

@XSven

Description

@XSven

Although I have read the documentation of IO::Compress::Gzip, it is unclear to me how the following functional call

gzip($inputFile => $outputFilehandle, {Strict => 0}) or die "gzip failed: $GzipError\n";

could be translated into an OO approach. $inputFile is a filename. $outputFilehandle is a raw read+write filehandle.

Furthermore I would like to know which instance(object) method I could use to access the header information of the zip archive. I have seen IO::Uncompress::Gunzip::getHeaderInfo() but I cannot believe that no such method exists for a gzip object itself because such an object should known how it has created the zip archive including its header.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions