sub ip2hex{ return "0x" . join ("", map {sprintf "%x", $_} split(/\./,shift)); + }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting numeric IP address to hex
by AltBlue (Chaplain) on Jan 27, 2001 at 05:45 UTC | |
by Coyote (Deacon) on Jan 27, 2001 at 07:04 UTC |