note
sleepingsquirrel
Why not...
<code>
@hosts = map { /^([\w.]+)$/ ? $1 : () } @tmp;
</code>
<b>update:</b> might as well get rid of the @tmp while we're at it...
<code>
@hosts = map { /^([\w.]+)$/ ? $1 : () } <CFGFILE>;
</code>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-309610">
<p><hr>-- All code is 100% tested and functional unless otherwise noted.
</div></div>
423968
424152