Peter Haynes of Wilton is a member of the cast of John Loves Mary, presented by the Town Players of New Canaan beginning July 28.

The comedy by Norman Krasna is set at the end of World War II. A soldier’s homecoming is fueled by mistaken identity and good intentions gone wrong.

When the show opened on Broadway in 1947, it was one of a number of plays that dealt with the social anxieties connected with the servicemen’s homecoming: How much will the war have changed these men? Will they be able to reintegrate into peacetime society? Will they chaotically upend traditional values?

Richard Mancini, who is directing this production, has always been drawn to shows about WWII and the postwar period.

“This play is full of fun and appealing characters and some very funny lines,” says Mancini. “Much of the comedy holds up over time — while in other instances, it can be so much a product of its time that it’s so old, it’s new again and ready to be discovered by younger audiences who don’t know the period.”

The show will take place at the air-conditioned Powerhouse Performing Arts Center in Waveny Park. Performance dates are Friday and Saturday nights, July 28, 29, Aug. 4, 5, 11, and 12 at 8, with matinées on Sunday July 30 and Aug. 6 at 2:30. To order tickets, call 203-594-3636 or visit tpnc.org.