Zaleplon
"I absolutely had to share that after taking this medicine, I too cut my hair in the night. I'm over forty years old. 
Not being aware I had cut my hair, I woke up and when I hopped out of bed that morning, both feet landed in a pile of hair. While funny, this is not good at all. I understand this is the same class of drug that is used for sedation during surgery. Look up the risks involved to memory and comprehension. Long term, permanent side effects. 
I admit, this medication put me to sleep, but never through the entire night. Oh, yeah and then there was the time I woke up with a chocolate candy bar melted to the side of my face. Again, funny but I was really angry to have wasted a candy bar. Ok ok, yeah I ate the candy bar. Come on, I had to."