Please examine this sentence: "In it we have articles by six authors,
each of whom brings a different background and perspective."
"whom" is used when it is referring to the object of a sentence. But in the above example, "each of whom brings a different background and perspective" is a subordinate clause. What is confusing to me is that the "whom," referring to the six authors, seems to be functioning as a subject in the second part of the sentence because it is the subject of the word "brings." But apparently, "each of who brings" is wrong. So does that mean if the "subject" of the subordinate clause refers to an object in the preceding clause, its pronoun (whom or who in this case) should be in the objective form? (whom)
Thank you!