Frivolity ruled at Wednesday’s tribute to sitcom writer-producer Ed. Weinberger by the Writers Guild Foundation in Los Angeles, starting with the program notes: “Ed. Weinberger was born in Philadelphia more years ago than he would like to remember.”

Foundation prexy Tom Schulman started the accolades for Weinberger, who has won 13 Emmys, by introducing him as “one of the funniest anal-retentive obsessive-compulsives I’ve ever met.” A reel featuring scenes from “The Mary Tyler Moore Show,” “Phyllis,” “Taxi,” “The Associates,” “The Cosby Show,” “Amen” and “Good News” followed.

Weinberger then offered the audience rules for success in Hollywood:

  • Never eat the food on rewrite night.

  • Never try to save money on a warm-up man.

  • When you and your partner divvy up responsibilities, make sure he’s the one who talks to the female star about her hair.

  • Whenever a network executive higher than janitor makes a suggestion, smack your forehead and say, “Good Lord, why didn’t I think of that?”

The evening also included a panel discussion featuring James Brooks, Allan Burns, Stan Daniels, Tony Danza, Dick Gregory, David Lloyd and Grant Tinker, and covering such areas as visits to the legendary Pussycat and a surprise birthday party that became a “Mary Tyler Moore” episode.

Weinberger also explained that he began abbreviating his first name, Edwin, at age 8. “It’s an affectation that’s gotten out of hand,” he admitted.