Archive-Ar-Libarchive
view release on metacpan or search on metacpan
lib/Archive/Ar/Libarchive.pm view on Meta::CPAN
{
my $self = shift;
my $count = 0;
foreach my $filename (@{ ref $_[0] ? $_[0] : \@_ })
{
unless(-r $filename)
{
$self->_error("No such file: $filename");
next;
}
my @props = stat($filename);
unless(@props)
{
$self->_error("Could not stat $filename.");
next;
}
open(my $fh, '<', $filename) || do {
$self->_error("Unable to open $filename $!");
next;
};
( run in 1.067 second using v1.01-cache-2.11-cpan-49f99fa48dc )