Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Replacing CGI.pm

by afoken (Canon)
on Jun 20, 2018 at 18:47 UTC ( #1217039=note: print w/replies, xml ) Need Help??


in reply to Replacing CGI.pm

I would like to upgrade our servers OS from Wheezy to Debian Stretch which does not have CGI.pm in the Perl core. I believe the upgrade to Stretch will leave CGI.pm intact (which the scripts need), but if not, what do I do?

Debian Stretch should have a package containing CGI.pm. https://packages.debian.org/search?searchon=contents&keywords=%2FCGI.pm&mode=path&suite=stable&arch=any lists several packages containing a file named CGI.pm. libcgi-pm-perl seems to be the right one.

apt-get install libcgi-pm-perl

... and you have CGI.pm back, unfortunately the 4.x series that lacks proper upgrade information. Read the change log (/usr/share/doc/libcgi-pm-perl/changelog.Debian.gz and /usr/share/doc/libcgi-pm-perl/changelog.gz after package installation) in addition to the documentation. "CGI::param called in list context" confusion also contains useful information.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217039]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-01-24 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?