in reply to Capturing remote command output to a file

my @CreateList = ...and
system("$CreateList > data/test.txt");
Involves two completely different variables, one an array and one a scalar. Did use strict not tell you about that problem?