$ip_hex = join '.', map {sprintf "%02x", $_} split /\./, $ip_dec; $ip_dec = join '.', map {hex} split /\./, $ip_hex;
--
John.
In reply to Re: decimal -> hex
by jmcnamara
in thread decimal -> hex
by FireBird34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |