There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

inspect_text_content

you can add something like this to your vim script file:

" script type: plugin

" ScriptType: plugin

" Script Type: plugin

then the file will be installed into ~/.vim/plugin/