system("tar --delete --file foo.tar foo.bar >NULL: 2>&1"); #### my $result=`tar --delete --file foo.tar foo.bar 2>&1`;