On Friday 08 March 2002 04:48 am, Guest via RT wrote:
Show quoted text> This message about Archive-Zip was sent to you by guest via rt.cpan.org
>
> Full context and any attached attachments can be found at:
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=333 >
>
> Hello Mr.Konz,
>
> some times the 'replacement' in line 207 doesn't work with empty $root.
>
> ....
> 206 my $fileName = $member->fileName();
> 207 $fileName =~ s{$root}{$dest};
> 208 my $status = $member->extractToFileNamed( $fileName );
> ....
>
> Work around:
> 207 $fileName =~ s{^$root}{$dest};
>
> Regards
Actually, I put in:
$fileName =~ s{^\Q$root}{$dest};
Thanks,
--
Ned Konz
currently: Stanwood, WA
email: ned@bike-nomad.com
homepage:
http://bike-nomad.com