AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Perl issue on AIX7.2

    Posted Thu August 22, 2019 04:43 AM

    Originally posted by: Yogeswaran Ponnusamy


    Hello Experts,

    We have a unix script which has set of perl Statements. It is working fine on AIX7.1 which has perl v5.10.1. But same set of Statements are not working on AIX7.2 which has perl v5.20.1. I doubt the issue with below perl Statement.

    open (CMD, "cat \${CONFIGFILE} | sed \"s/\\\"/\\\\\\\\\\\"/g\" |");

    Could you someone help me.



  • 2.  Re: Perl issue on AIX7.2

    Posted Thu August 22, 2019 10:11 AM

    Originally posted by: AyappanP


    Can you be more specific regarding the errors you are seeing ?

    What kind of errors ? Syntax errors?



  • 3.  Re: Perl issue on AIX7.2

    Posted Wed September 18, 2019 01:28 AM

    Originally posted by: sanket


    Have you tried on any other platform with Perl v 5.20.1 or greater. Perl community many times deprecate features and script working on older Perl may not work on new Perl version. 



  • 4.  Re: Perl issue on AIX7.2

    Posted Wed September 18, 2019 04:24 AM

    Originally posted by: Yogeswaran Ponnusamy


    Found that usage of  "@_" caused issue on v 5.20.1 version. Tuned the script and it is resolved.