Subject: | Error reported if blanks are present in archive filename |
Found in Archive::Rar 1.93 on a Linux machine equipped with Fedora 8
Perl v.5.8.8
If the archive filename has blanks in it ( e.g "My archive.rar" ), the
List method exit with an error.
The error disappear if the blanks are removed
A way to resolve the error could be to enclose the rar archive filename
with double quotes adding the following line
$me->{archive} = "\"$me->{archive}\"";
before the line 229 in Rar.pm file,
or however the module mantainer prefers ;-)
Way to reproduce:
my $rar = new Archive::Rar();
$rar->List( -archive => $archive );
$rar->PrintList( );