in reply to How can I retrieve a DNA sequence from online database using perl code?

"I updated LWP::Protocol::https, IO::Socket::SSL, Net::SSLeay, OpenSSL and Bio modules from cpan (https://www.cpan.org/) inside the lib folder of Perl."

To be specific, are you doing this manually, as in manually downloading modules from cpan and copying the files? If so this can be a bit of a footgun, consider using cpanm/cpan. Perl 5.10 is from 2007, see Strawberry Perl for a sane distribution for windows.

Update: from the website NCBI Website Maintenance — Beginning July 25th: "We anticipate this planned outage will last 24 hours or more. During this time, users may experience interrupted access or degraded performance across a range of NLM resources, including databases, search tools, submission systems, and programmatic services."

  • Comment on Re: How can I retrieve a DNA sequence from online database using perl code?

Replies are listed 'Best First'.
Re^2: How can I retrieve a DNA sequence from online database using perl code?
by supriyoch_2008 (Monk) on Jul 25, 2025 at 12:30 UTC

    Marto

    Thank you for your reply. Yes, I have manually downloaded the modules from cpan and copied the files in the lib folder of perl (v5.10) in my laptop. For some specific reasons, I do not want to change the perl version. Please let me know if there is any way to run the program in perl v5.10.

      As mentioned, use cpanm (ideally, or cpan) to install the modules properly. Copying files around isn't going to work for modules which aren't pure perl. If your perl stack is that old your local openssl is likely old enough to cause connectivity problems. Running a modern perl on Windows is trivial with the portable releases Strawberry perl provides, see what the release notes list as coming as standard with the distribution.