Subject: | Auto-load Archive::Zip::MemberRead |
The following one-liner blows up when using Archive::Zip 1.30:
% perl -MArchive::Zip -E '
for $m (Archive::Zip->new(shift)->members) {
$fh = $m->readFileHandle;
}' myfile.zip
Can't locate object method "readFileHandle" via package
"Archive::Zip::ZipFileMember" at -e line 4.
It succeeds if I add -MArchive::Zip::MemberRead as a command-line argument.
Maybe that package should be loaded by default?