Bring salted water to a boil. Add penne and cook for 8 to 10 minutes or until tender but still firm to the bite. Meanwhile in a large saucepan heat the olive oil over moderate heat. When hot add the garlic and saute for a few seconds. Add the tomatoes, oregano, red pepper flakes, capers and olives. Simmer the sauce, covered, for 10 minutes. Uncover and simmer another 10 minutes, stirring on occasion, for 20 minutes. When done stir in the anchovies, beans, salt and pepper and simmer 5 minutes to heat through. Drain pasta and portion it out into a great big bowl. Spoon the sauce on the top and toss lightly. Garnish with parsley.