in reply to problem printing array elements -- printing # of lines in array instead
my @command_array_split = split(/:/,@command_array); [download]
This does not do what you think. split does not take an array or a list.