in reply to Re^3: perl quicker than bash?
in thread perl quicker than bash?

It preserves biggest found cidr
s/biggest/smallest/ :)

Replies are listed 'Best First'.
Re^5: perl quicker than bash?
by TiffanyButterfly (Novice) on Jan 08, 2015 at 04:35 UTC

    Awesome! Thanks very much for your hard work! :)

    I'll give it a go. This all helps me to learn the syntax.

    Yes - it's hard to tell one Anon Monk from the next - you all look alike to me! (haha)

    :)

      lol... that thing is great!

      I ran a diff with the output from the bash script and your perl script and both outputs are identical. Just timed it too - on my original list of (now) 1,480 IP addresses, your perl script took ~150ms to run... well done! :)