On 1/24/07, Steffen Mueller <[EMAIL PROTECTED]> wrote:
An alternative would be to convince the A::Zip maintainer to provide a
$zip->member_names() function which breaks encapsulation of
A::Zip::Member from within the Archive::Zip distribution. The problems
are that a) A::Zip is currently very strict about this and I don't want
to be the one to change that and b) the author has been away for some
time and A::Zip is currently community maintained.
Looking at the source of Archive::Zip, this already exists as memberNames:
sub memberNames {
my $self = shift;
return map { $_->fileName() } $self->members();
}
David