in reply to Module creation: testing prerequisite

If you want to install the prerequisites of a module distribution unpacked in the current directory, just run

cpanm --installdeps .

This will run your Makefile.PL, extract the prerequisites, and then install the missing prerequisites.

I think that cpan itself can also install just the prerequisites of a module, but I don't know the incantation off-hand.