Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  Perl issue on AIX7.2

    Posted 08/22/19 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.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Perl issue on AIX7.2

    Posted 08/22/19 10:11 AM

    Originally posted by: AyappanP


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

    What kind of errors ? Syntax errors?


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Perl issue on AIX7.2

    Posted 09/18/19 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. 


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: Perl issue on AIX7.2

    Posted 09/18/19 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.


    #AIXOpenSource
    #AIX-Open-Source-Software