Perl version and modules on new CGI server?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Perl version and modules on new CGI server?
Perl version and modules on new CGI server?
01-04-2014 9:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks.
Re: Perl version and modules on new CGI server?
01-04-2014 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
#!/bin/bash
echo "Content-type: text/html"
perl --version
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Perl version and modules on new CGI server?
01-04-2014 3:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Bob v5.10.1 by the looks of things.
Great...thanks.
I did try the following to find out the installed modules, which works on my intranet CGI server, but it's failing (status 500) on CCGI. Could be timing out.
use strict;
use ExtUtils::Installed;
use CGI;
my ($inst) = ExtUtils::Installed->new( skip_cwd => 1 );
my (@modules) = $inst->modules();
my $query = new CGI;
print $query->header;
print $_."\n" foreach (@modules);
If all else fails, I'll just have to test if the modules I need exist.
Re: Perl version and modules on new CGI server?
01-04-2014 4:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Can't open file /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/IO/Zlib/.packlist: Permission denied at /usr/share/perl5/ExtUtils/Installed.pm line 96
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Perl version and modules on new CGI server?
02-04-2014 10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote #!/usr/bin/perl -w
at the top of my script (I somehow managed to omit it from my post though) but I didn't get that error back. Mind you, I only tested with the browser - are you getting that in a log, or running the script from the command line on CCGI? I can't find any FAQ indicating that I can telnet/ssh in to test these scripts on the new server.
dick:quote
Re: Perl version and modules on new CGI server?
02-04-2014 12:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
use CGI::Carp qw/fatalsToBrowser/;
… so that the fatal message is also sent to the browser.
David
Re: Perl version and modules on new CGI server?
02-04-2014 12:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Perl version and modules on new CGI server?
02-04-2014 6:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

A bit worried though...it seems to be checking a different set of modules (5.8.8 ) to the running version of Perl (5.10.1)

I've also sent a query to PlusNet support to see if I can get a list of installed modules.
Re: Perl version and modules on new CGI server?
04-04-2014 11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Perl version and modules on new CGI server?
07-04-2014 2:58 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The version of Perl that's installed is indeed 5.10.1. You should also find that your script to list the installed modules works OK now too. I've uploaded a copy to your cgi-bin called modules.pl, output as follows:
Quote Apache::GD::Graph Archive::Tar Archive::Zip BerkeleyDB Bit::Vector Business::UPS CCREMOTE CGI::FastTemplate CPAN::WAIT Carp::Clan Class::Accessor Clone Compress::Raw::Zlib Compress::Zlib Crypt::Blowfish Crypt::CBC Crypt::DES Crypt::DSA Crypt::ECB Crypt::HCE_SHA Crypt::OpenSSL::RSA Crypt::OpenSSL::Random Crypt::RC4 Crypt::SSLeay Cryptix DBD::ADO DBD::CSV DBD::DBD::mysql DBD::SQLite DBD::Sprite DBD::mysql DBD::mysql_9apr10 DBI DBI,owen Data::Buffer Date::Calc Date::Manip Date::Pcalc Devel::Symdump Digest Digest::HMAC Digest::MD5 Digest::SHA Digest::SHA1 Email::Simple Encode::Detect Error ExtUtils::CBuilder File::HomeDir File::NFSLock File::Remove File::Which Font::AFM FreezeThaw GD HTML-Format HTML-Tree HTML::Parser HTML::Tagset HTML::Template IO::Compress::Base IO::Compress::Zlib IO::Socket::SSL IO::Stringy IO::Zlib IP::Country Image::Magick Image::Magick_13Apr10 Image::Magick_9Apr10 Image::Size JSON JSON::XS LWP MCrypt MD5 MIME-tools MIME::Base64 MIME::Lite MIME::Types MIME::tools Mail Mail::Alias Mail::Box Mail::DKIM Mail::IMAPClient Mail::Message::Attachment::Stripper Mail::RFC822::Address Mail::SPF Mail::SPF::Query Mail::Transport::Dbx Mcrypt Module::Build Msql-Mysql-modules Net Net::CIDR Net::CIDR::Lite Net::DNS Net::DNS::Resolver::Programmable Net::IMAP::Simple Net::IP Net::SSLeay Net::Telnet NetAddr::IP OLE::Storage_Lite Object::Realize::Later PDF::API2 Params::Util Parse::Yapp Perl Pod::Coverage Pod::Escapes Pod::Simple RRDp RRDs SQL::Statement Spreadsheet::ParseExcel Storable String::Approx Sys::Hostname::Long Template Term::ReadKey Term::ReadLine Test::Pod Test::Pod::Coverage Text::CSV Text::CSV_XS Text::Glob Text::Template Tie::DBI Tie::Tools TimeDate URI Unicode::Map Unicode::String User::Identity WWW::Curl XML-DOM XML::Generator XML::NamespaceSupport XML::Parser XML::SAX XML::SAX::Expat XML::Simple XML::XQL XML::XSLT YAML common::sense libwww-perl libxml-enno libxml-perl version
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Perl version and modules on new CGI server?
08-04-2014 7:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Re: Perl version and modules on new CGI server?
09-04-2014 12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I was going to paste the list here, but it's quite big when formatted as a table, and might annoy the moderators

Re: Perl version and modules on new CGI server?
10-04-2014 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Perl version and modules on new CGI server?