good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
No, you are not doing what is written in the documentation. DrHyde is correct. The documentation shows: $tar->extract_file( 'name/in/archive', 'name/i/want/to/give/it' ); Your code has this line though: $tar->extract_file($file, "C:/extract/$input"); # Extract $file to "C:/extract/libpst.tar.gz" If you change it to the following it might work better: $tar->extract_file($file, "C:/extract"); # Extract $file to "C:/extract" In reply to Re^3: Archive::Tar extract
by Mr. Muskrat
|
|