The conditions she describes as 'perversity' is just the heightened response of an over-stressed brain.
The suicidal thoughts (that still horrify the person thinking them) aren't due to a so-called Freudian perversity as the author implies, but are a first step towards total mental breakdown (which actually ends up in suicide, due to to the struggle with such thoughts--which is a form of depression).
When I was extremely stressed for long periods of time, with no solution in sight, I did enter this stage. Photos I took for a mugshot in this period show a slight shine in my eyes that I hadn't before (that's another sign the brain is disintegrating). I'd stand over overpasses and watch cars drive by, and then a little voice would tell me: jump! jump! while another thought which felt more stronger, would consider this horrifying and made me reflect on why I was thinking such thoughts.
It wasn't limited to the visible possibilities, either. Frequently when the stress would become unbearable, a little strange thought would make me think of tall buildings and let me imagine that by jumping from one, my problems would cease.
I've recovered from those thoughts now -- because luckily my stressors were eliminated -- and I no longer experience such thoughts or voices. I mention all this to help others realize that they need to seek help and solve their stressors instead of falling back on the quack-doctor Freud's ideas that "oh it's in our nature to be perverse!".