Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Answer: Converting an IP from hexadecimal to dotted-quad

by merlyn (Sage)
on Aug 29, 2002 at 04:26 UTC ( #193668=categorized answer: print w/replies, xml ) Need Help??

Q&A > data formatting > Converting an IP from hexadecimal to dotted-quad - Answer contributed by merlyn

perhaps
join '.', unpack "C*", pack "H*", $ip;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-02-21 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (274 votes). Check out past polls.

    Notices?