in reply to 7zip a folder

Take a look at Perl system function.
I don't understand capture_merged{} in the context of your code.
What is "capture_merged"?.
I don't see an open to the file handle $log.

When debugging an error, simplify, simplify. See how you get on with:

my @args = ("command", "arg1", "arg2"); system(@args) == 0 or die "system @args failed: $?";
Single quotes, ' vs double quotes, " matter.

Replies are listed 'Best First'.
Re^2: 7zip a folder
by dasgar (Priest) on Nov 02, 2017 at 07:22 UTC