Tuesday, November 16, 2021

[SOLVED] How to install Captcha::reCaptcha module?

Issue

I'm trying to use Google's reCaptcha v2 system with a Perl script. I can find information on how to use the modules in places like Captcha::reCAPTCHA and Captcha::reCAPTCHA::V2 but the instructions on how to install the module are confusing.

I have cpan installed but I don't know the proper command to download and install the module. I'm running CentOS 7.

Can anybody walk me through what I need to do to get these libraries on my system?

Are these the same module/library?


Solution

installing cpan:

yum install cpan

Looks like this is the command that worked:

cpan Captcha::reCAPTCHA::V2


Answered By - Trent Three