Erased, no; they happened. But whether or not they'll be acknowledged and accepted by millions of baseball fans remains to be seen. If he took steroids, then Bonds is a cheater, and his accomplishments should be held in a lesser light because of that.
As for PErry, his cheating was part of his wacky charm. And I think he only got caught doctoring the ball once.
The point I was making is that if Bonds gets "caught" I doubt it will ever be due to a positive test. So if all they ever get against him is some testimony or documents, that's hardly any worse than Perry, who entitled his autobiography "Me and the Spitter" and revelled in the fact that he cheated throughout his entire career and didn't get caught doing it.