note
Paladin
<c>system</c> doesn't return the output of the command run, it returns the exit code of what's run, in your case <c>0</c> hence the 0 in your output "tar: 0: Cannot open: No such file or directory".
Take a look at the <c>glob()</c> perl command to get the listing of files in a directory.
1147668
1147668