in reply to Re^3: Sort by -M
in thread Sort by -M

The point of having two concurrent processes is for High Availability. Both machines run exactly the same workload and provides and Active/Active HA solution. Your right these are warnings. The overall process is working, but I see these messages in my STDERR log file. So that is why I want to address it. I'm going to try and filter with a grep

Replies are listed 'Best First'.
Re^5: Sort by -M
by Laurent_R (Canon) on Feb 02, 2018 at 20:34 UTC
    As I said, I would probably not do that, but if you're really happy that your programs are working correctly and just want to get rid of the warnings in your log files, then you could silence the warnings (in the smallest possible lexical scope):
    { no warning 'uninitialized', @tmparray = sort { -M "$b" <=> -M "$a" } (@tmparray); }