in reply to Converting numeric IP address to hex

are there too much of splits,map,joins? :)
s/(\d+)/sprintf "%02X",$1/eg

--
AltBlue.

  • Comment on Re: Converting numeric IP address to hex

Replies are listed 'Best First'.
Re: Re: Converting numeric IP address to hex
by Coyote (Deacon) on Jan 27, 2001 at 07:04 UTC
    Ah, but they've been so good to me.

    ----
    Coyote