Jimmy Perry, who created popular TV comedy shows like Dad’s Army and It Ain’t Half Hot Mum, has died aged 93 after a brief period of illness.

Jimmy, who worked closely with producer David Croft and was also responsible for Hi-de-Hi! and You Rang M’Lord?, died on Sunday morning at his home, his agent said.

His writing drew on his life experiences as a young member of the Home Guard during the Second World War and as a Butlin’s holiday camp Redcoat.

People who worked with Jimmy and fans of his shows said he has left a great legacy.

Jimmy Perry (Michael Stephens/PA)
Jimmy Perry (Michael Stephens/PA)

Shane Allen, BBC controller of comedy commissioning, said Jimmy’s work spanned decades and will be remembered for a long time to come.

He said: “Jimmy Perry is a Goliath of British comedy writing. He was behind some of the longest running and most loved sitcoms on British television spanning the 60s, 70s and 80s.

“His work will be enjoyed and appreciated for many years to come. Our thoughts are with his friends and loved ones at this sad time.”

Actress Vicki Michelle, who has previously said Jimmy, David and ‘Allo ‘Allo writer Jeremy Lloyd were “largely responsible for the golden age of British comedy”, tweeted: “So sad we have lost #JimmyPerry a brilliant comedy writer & true gentleman. He leaves us such a legacy.”

Other celebrities also lined up to pay tribute following his death.

Recalling one of the programme’s most famous episodes, Pointless presenter Richard Osman joked Jimmy would have the perfect retort when asked his name at the gates of heaven.

In one scene from the hit series, the Home Guard members were confronted by a German soldier who demanded the name of the hapless Private Pike.

Captain Mainwaring quickly replied: “Don’t tell him Pike.”

Comedian Jack Dee said the show has endured throughout the decades.

He tweeted: “RIP Jimmy Perry. Amazing contribution to British telly. Watched Dad’s Army only yesterday. Still as funny as when I watched it as a kid.”