Subject: | extract_file extracts to current directory when absolute path given |
extract_file method does not accept an absolute path in destination:
$tar->extract_file( $file, $dest );
if $dest (in Windows) = 'C:\some\dir\filename' and the current working (Cwd::getcwd)directory is 'C:\another\dir' then it tries to extract the file to 'C:\another\dir\C:\some\dir\filename'.
A workaround is to change the directory to the 'C:\some\dir' and then extract the file. But one shouldn't have to do this.