I've recently installed ActivePerl 18 (v5.18.2) 64bits on Windows 8.1, and ppm keeps producing the same error : DBD::SQLite::db selectrow_array failed: database disk image is malformed.
Here's an exerpt from my command prompt:
ppm install Win32-Console-ANSI
ppm install failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed
ppm rep
ppm rep failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed
ppm
ppm gui failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed
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.