This doesn't do what you think it does. The system function runs the command and returns its exit status; so in your case, this:
system($command)
prints Architecture: x86_64, so this:
@SplitArch = split(/:/, system($command));
prints Architecture: x86_64 and sets @SplitArch to (0).
print @SplitArch[1] then prints nothing, because @SplitArch has only one element. (By the way, you probably meant to write $SplitArch[1] rather than @SplitArch[1], but that's neither here nor there.)
Since you apparently intend to capture the output of $command, use `...` or qx/.../ instead:
@SplitArch = split(/:/, `$command`);
print "\n\t-- $_" foreach(@SplitArch);That will spill the contents of the array in the console, making it obvious why your code isn't working.