The 64-year-old rocker said in a Thursday posting on Fanasylum.com he learned he had skin cancer last month.
"Three weeks ago a routine mole was taken off my face and the lab report came back melanoma skin cancer," he wrote. "I've had two surgeries in two weeks to remove all the cancer cells and I've been told they think they got it all and no other treatments are required."
Perry also recounted how his girlfriend, psychologist Kellie Nash, died recently of breast cancer.
"She was so strong, so courageous and we really loved each other so very much," he said.
"Though Kellie and I were only together for 1 and 1/2 years, it was a lifetime of love packed into every moment."
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'