title: Is it fine to write "skip() unless ok()" with Test::More?
body: <p>I've gone through the <a href="https://metacpan.org/module/Test%3a%3aMore" rel="nofollow">documentation</a> and can't find a definitive answer to my query.</p>
  
  <p>In a lot of my tests, the execution of a <strong><code>SKIP</code></strong> block is conditional to the success of a prior test.</p>
  
  <p>So, for example, this what I write:</p>
  
  <pre><code>ok( @results &gt; $threshold , 'Threshold met' );
  
  SKIP: {
          skip 'due to insufficient results', 3
            unless @results &gt; $threshold;
          # ...
  }
  </code></pre>
  
  <p>If my test changes, I don't want to have to change two locations, so I'd like a DRY-er equivalent:</p>
  
  <pre><code>SKIP: {
          skip 'due to insufficient results', 3
            unless ok( @results &gt; $threshold , 'Threshold met' );
          # ...
  }
  </code></pre>
  
  <p>My initial tests suggest that the two snippets are equivalent.</p>
  
  <p>However, something in the documentation caught my eye:</p>
  
  <blockquote>
    <p>Each <code>SKIP</code> block must have the label <code>SKIP</code>, or <code>Test::More</code> can't work its magic.</p>
  </blockquote>
  
  <p>My concern here is that the magic may spill over to the <code>ok()</code> as it is now inside the block.</p>