Slash and his almost ex-wife have reconciled ... TMZ has learned ... and he's asking the court to dismiss his divorce petition.
Slash -- real name Saul Hudson -- filed a request for dismissal of the divorce in L.A. County Superior Court ... two months after he filed to divorce his wife, Perla Ferrar.
At the time, sources close to Slash and Perla said their breakup was real nasty. The guitar hero even hired disso-queen Laura Wasser -- to rep him.
But love is a crazy thing. The court still has to sign off on the dismissal ... and they'll live happily ever after ... again.
Rock 'n' roll.