Are there Perl functions that work like Python functions all or any? This answer from Jobin is a short explanation of how both functions are working.
I want to determine (without loop) if all error-msg's are defined and ne "" in the following structure:
$VAR1 = [{
  'row' => [{
      err_msg => "msg1",
      a => "a1",
      b => "b1"
    },
    {
      err_msg => "msg2",
      a => "a2",
      b => "b2"
    }]
},
{
  'row' => [{
      err_msg => "msg3",
      a => "a3",
      b => "b3"
    },
    {
      err_msg => "msg4",
      a => "a4",
      b => "b4"
    }]
}]
 
    