system('tar -xvf $file');
should quote the filename:
system(qq(tar -xvf "$file"));
to protect against spaces. This is not perfect; it doesn't protect against doublequotes in the filename.
In reply to Re: untarring number of files
by Anonymous Monk
in thread untarring number of files
by agent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |