Hmm... The sentence does not make sense. It cannot be directly translated from "what a perfect example" (which I guess you did)
In Norwegian it would be as nonsensical as saying "where a perfect example"
The use of "for" expresses the same meaning as "what" in "what a perfect example"