Help for this page

Select Code to Download


  1. or download this
    @ips =
        # note: this converts any "unusual" reps to dotted-quad
    ...
        sort
        map { inet_aton $_ }
        @ips;
    
  2. or download this
    @ips =
        map { substr $_, 4 }
        sort
        map { /(\d[.\d]+\d)/; inet_aton($1) . $_ }
        @ips;