in reply to Sorting ip addresses quicker
in thread Sorting ip addresses quickly

I think you meant

$x=$_ + $x << 8 for split(/\./, $y);

rather than

$x=$_ + $x * 8 for split(/\./, $y);

*Woof*