You should read the documentation describing using $tar->setcwd( $cwd ); at the end of the object methods section in the Archive::Tar docs. In part it says:
Archive::Tar needs to know the current directory, and it will run Cwd::cwd() every time it extracts a relative entry ...
In reply to Re: Archive::Tar from somewhere outside my runtime directory
by GrandFather
in thread Archive::Tar from somewhere outside my runtime directory
by murrayn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |