title: Perl pendant for Python Built-in Functions `all` and `any`
body: <p>Are there Perl functions that work like Python functions <code>all</code> or <code>any</code>? <a href="https://stackoverflow.com/a/42152298/7421890">This answer from Jobin is a short explanation</a> of how both functions are working.</p>
  
  <p>I want to determine (without loop) if all error-msg's are <code>defined and ne ""</code> in the following structure:</p>
  
  <pre><code>$VAR1 = [{
    'row' =&gt; [{
        err_msg =&gt; "msg1",
        a =&gt; "a1",
        b =&gt; "b1"
      },
      {
        err_msg =&gt; "msg2",
        a =&gt; "a2",
        b =&gt; "b2"
      }]
  },
  {
    'row' =&gt; [{
        err_msg =&gt; "msg3",
        a =&gt; "a3",
        b =&gt; "b3"
      },
      {
        err_msg =&gt; "msg4",
        a =&gt; "a4",
        b =&gt; "b4"
      }]
  }]
  </code></pre>