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

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

Replies are listed 'Best First'.
Re^5: perl and Docker
by Corion (Patriarch) on Oct 31, 2016 at 07:51 UTC

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