Vikrant
2005-07-21 13:14:57 UTC
Hi
Please tell me how do i convert a long integer IP address to dotted quad
IP address using perl language.
For example:- If IP address is 167772260 then how do i convert it into
dotted quad IP address.
I am able to do it by applying some mathematical operations, but i am
looking for a function in perl the can do the same,because in my code i
have deal with many IP addresses.
or plz suggest me any other way to do it.
With Regards
Vikrant
Please tell me how do i convert a long integer IP address to dotted quad
IP address using perl language.
For example:- If IP address is 167772260 then how do i convert it into
dotted quad IP address.
I am able to do it by applying some mathematical operations, but i am
looking for a function in perl the can do the same,because in my code i
have deal with many IP addresses.
or plz suggest me any other way to do it.
With Regards
Vikrant