in reply to Problem in parsing command output

Have you tried printing @cmdResults? Just to see what is in there?
print join "\n", @cmdResults;

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku