note
fokat
<blockquote>Nice tutorial...however it would be nice to add a routine that would also sort the ip addresses.</blockquote>
<P>Well, actually <tt>NetAddr::IP</tt> objects behave nicely when sorted, so this...</P>
<CODE>
sort @list_of_netaddr_ip_objects;
</CODE>
<P>...Will do as expected. The trick is that the comparison operators used by <tt>sort</tt> and others, are overloaded too. The overload was done because I needed to sort addresses :)</P>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-107541">
<P>Best regards</P>
<P>-<A HREF="http://mipagina.cantv.net/lem/">lem</A>, but some call me fokat
</div></div>
190497
408699