How to fix ActivePerl's PPM "database disk image is malformed" error?
I had similar problem. I solved it, I cleanned AppData folder of ActivePerl. I found that under:
C:\Users\%USERNAME%\AppData\Local\ActiveState\ActivePerl\
Remove all data from that folder.
Please try it can help you.