in reply to Re^2: perl and Docker
in thread perl and Docker

Without seeing any of your setup, code and "config" code, I have to guess here.

Your Perl code is trying to run/eval the Python "config" code when it is run from within the container. Why it finds the Python config is your next task to find out.

Replies are listed 'Best First'.
Re^4: perl and Docker
by Anonymous Monk on Oct 31, 2016 at 06:38 UTC

    Hi,

    It isnt trying to run/eval Python "config"code.

    It is trying to run/eval python "conf_file" which is a python dictonary list, as indicated by the default@conf mentioned previously

    This new "conf_file" is similar to the "default conf_file" also mentioned in the external perl function

    This is where the error is generated. When a new "conf_file" is generated and sent to perl function, it gives an error.

    I tried to resolve this be setting the container locale to UTF-8, but doesn't work

    Cheers

      If the config file is in Python syntax, what makes you think that Perl can read it?