in reply to Extracting to a specific directory using Archive::Libarchive::XS

Alright guys I ended up just inserting archive_entry_set_pathname($entry, $path . '/' . archive_entry_pathname($entry)); before archive_write_header().

If anyone has any tips or changes that could improve the original complete_extractor.pl, please feel free to let me know.