Size of array generated by <>?
<p>If I want to find the size of an array generated by <code>&lt;&gt;</code>, why doesn't the following work?</p>

<pre><code>print "Number of .DOC and .PDF files is: " scalar(&lt;*.PDF *.DOC&gt;);
</code></pre>

<p>It gives the name of the first matching file instead.</p>