note
grinder
<p>Heh! This gave me a big laugh (but then that's my sense of humour). On my fifth try I pulled up the perl manpage. How odd.</p>
<p>I would humbly suggest filtering out the directories returned by [readdir]:</p>
<code>
push(@bins, grep { -f $_ } @content);
</code>
<p>Normally I would suggest <code>$_ ne '.' and $_ ne '..'</code> but as in this case we don't care to see directories or any other weird things, the -f will do the trick nicely.</p>
<p>Another thing, if [system] is the last statement in your program you may want to consider [exec]ing the program instead, as you really don't need/care to hang around to see what happens.<p>
<div class="pmsig"><div class="pmsig-29008">
<p align="right"><font size="-2">- another intruder with the mooring of the heat of the Perl</font></p>
</div></div>
368587
368587