Ubuntu 16.04, how to downgrade perl 5.22 to version 20 system wide

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Perl 5.22 deprecated defined arrays. Got a cgi-bin that's not working as a result. How do I downgrade perl to 5.20 system wide?










share|improve this question





















  • I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
    – Scott Stensland
    Feb 21 at 19:36











  • Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
    – user535733
    Feb 21 at 23:12














up vote
0
down vote

favorite












Perl 5.22 deprecated defined arrays. Got a cgi-bin that's not working as a result. How do I downgrade perl to 5.20 system wide?










share|improve this question





















  • I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
    – Scott Stensland
    Feb 21 at 19:36











  • Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
    – user535733
    Feb 21 at 23:12












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Perl 5.22 deprecated defined arrays. Got a cgi-bin that's not working as a result. How do I downgrade perl to 5.20 system wide?










share|improve this question













Perl 5.22 deprecated defined arrays. Got a cgi-bin that's not working as a result. How do I downgrade perl to 5.20 system wide?







perl






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 21 at 19:08









Will

1




1











  • I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
    – Scott Stensland
    Feb 21 at 19:36











  • Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
    – user535733
    Feb 21 at 23:12
















  • I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
    – Scott Stensland
    Feb 21 at 19:36











  • Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
    – user535733
    Feb 21 at 23:12















I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
– Scott Stensland
Feb 21 at 19:36





I am certain such an answer can be found if you exercise your google fu ... duplicate questions downgrade the quality of forums
– Scott Stensland
Feb 21 at 19:36













Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
– user535733
Feb 21 at 23:12




Ubuntu 14.04 has Perl 5.18, and is supported until early 2018. No supported release of Ubuntu has a supported version of Perl 5.20. You can try pulling packages from Launchpad --it's your system-- but you won't get much support here when something goes wrong...because it's not supported.
– user535733
Feb 21 at 23:12










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Checking defined on arrays in Perl is not deprecated but forbidden. It was deprecated since Perl 5.6.1 (releases 2001) and triggered a warning since 5.16 (2012). It now triggers a fatal error instead.



Downgrading the system Perl is a bad idea since there are system tools which depend on it and thus might result in an error if downgraded. But you could install multiple versions of Perl in parallel and then refer to the one you want to use inside your affected cgi-bin scripts. You can use perlbrew for this.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1008486%2fubuntu-16-04-how-to-downgrade-perl-5-22-to-version-20-system-wide%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    Checking defined on arrays in Perl is not deprecated but forbidden. It was deprecated since Perl 5.6.1 (releases 2001) and triggered a warning since 5.16 (2012). It now triggers a fatal error instead.



    Downgrading the system Perl is a bad idea since there are system tools which depend on it and thus might result in an error if downgraded. But you could install multiple versions of Perl in parallel and then refer to the one you want to use inside your affected cgi-bin scripts. You can use perlbrew for this.






    share|improve this answer
























      up vote
      2
      down vote













      Checking defined on arrays in Perl is not deprecated but forbidden. It was deprecated since Perl 5.6.1 (releases 2001) and triggered a warning since 5.16 (2012). It now triggers a fatal error instead.



      Downgrading the system Perl is a bad idea since there are system tools which depend on it and thus might result in an error if downgraded. But you could install multiple versions of Perl in parallel and then refer to the one you want to use inside your affected cgi-bin scripts. You can use perlbrew for this.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        Checking defined on arrays in Perl is not deprecated but forbidden. It was deprecated since Perl 5.6.1 (releases 2001) and triggered a warning since 5.16 (2012). It now triggers a fatal error instead.



        Downgrading the system Perl is a bad idea since there are system tools which depend on it and thus might result in an error if downgraded. But you could install multiple versions of Perl in parallel and then refer to the one you want to use inside your affected cgi-bin scripts. You can use perlbrew for this.






        share|improve this answer












        Checking defined on arrays in Perl is not deprecated but forbidden. It was deprecated since Perl 5.6.1 (releases 2001) and triggered a warning since 5.16 (2012). It now triggers a fatal error instead.



        Downgrading the system Perl is a bad idea since there are system tools which depend on it and thus might result in an error if downgraded. But you could install multiple versions of Perl in parallel and then refer to the one you want to use inside your affected cgi-bin scripts. You can use perlbrew for this.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 21 at 20:29









        Steffen Ullrich

        64137




        64137



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1008486%2fubuntu-16-04-how-to-downgrade-perl-5-22-to-version-20-system-wide%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491