'Friends' star Matthew Perry reveals he was hospitalised for 3 months

Matthew Perry revealed that he's spent the last three months in hospital following surgery, during which he's understood to have been experiencing severe abdominal pain due to a ruptured bowel.

The Friends star, 49, tweeted the news to his 1.2 million followers on Saturday, simply writing "Three months in a hospital bed. Check."

News of Perry's recent health concern broke last month when a rep for the actor told People that he "recently underwent surgery in a Los Angeles hospital to repair a gastrointestinal perforation. He is grateful for the concern and asks for continued privacy as he heals."

According to the Mayo Clinic, a gastrointestinal perforation is caused by a hole which can develop through the stomach, large bowel, or small intestine.

There are a number of different causes including appendicitis, diverticulitis, gallstones, or Crohn's disease.

It is understood that Perry's tweet -- his first since March -- signified the end of his extended hospital stay, and he is expected to be recovering at home from now on, the outlet reported.

(Netflix)

Perry, who famously played Chandler Bing on long-running sitcom Friends, has long been outspoken about his personal battles, including his struggles with sobriety.

"I've had a lot of ups and downs in my life and a lot of wonderful accolades," he previously told The Hollywood Reporter. "But the best thing about me is that if an alcoholic comes up to me and says, 'Will you help me stop drinking?' I will say, 'Yes. I know how to do that.'"

"When you're having a bad day, the best thing you can do is call somebody and ask them how they're doing," Perry added, "and actually pay attention and listen to the answer to get out of your own head."

As well as performing in and writing his debut play, The End of Longing, Perry has recently appeared onscreen in 2017's television miniseries The Kennedys: Decline and Fall, in which he played Ted Kennedy, as well as acting in The Good Fight as Mike Kresteva.

If you or someone you know needs help, contact Family Drug Helpline on 1300 660 068, or Lifeline on 13 11 14.

TV and movie cast reunions: Nostalgic photos to give you all the feels