$hex= 0xb400189; print join ".", map {scalar reverse}(reverse sprintf "%x", $hex) =~/(. +.?)/g; __OUTPUT__ 89.01.40.b
--
flounder
In reply to Re: Hex to Octet
by flounder99
in thread Hex to Octet
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |