Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 cooling their heels in the Monastery: (7)
As of 2017-02-26 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.