Re: IP Number/ IP Address Array

2006-02-20 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > Greetings, Hello, > I need to convert the first column of a list of IP numbers to IP > addresses. I created an array of my list but am stumped on how to > convert the numbers. > > File: > 180884576 imstrmcs05 > 180884577 imstrmcs06 > 180884578 imstrm

RE: IP Number/ IP Address Array

2006-02-20 Thread Thomas Bätzler
<[EMAIL PROTECTED]> asked: > I need to convert the first column of a list of IP numbers to > IP addresses. I created an array of my list but am stumped > on how to convert the numbers. #!/usr/bin/perl use strict; use warnings; use Socket; sub number_to_ip { return( inet_ntoa( pack( 'N', $

IP Number/ IP Address Array

2006-02-19 Thread overkill
Greetings, I need to convert the first column of a list of IP numbers to IP addresses. I created an array of my list but am stumped on how to convert the numbers. File: 180884576 imstrmcs05 180884577 imstrmcs06 180884578 imstrmcs07 180884579 imstrmcs08 180884580

IP Number/ IP Address Array

2006-02-19 Thread overkill
I need to convert the first column of a list of IP numbers to IP addresses. I created an array of my list but am stumped on how to convert the numbers. File: 180884576 imstrmcs05 180884577 imstrmcs06 180884578 imstrmcs07 180884579 imstrmcs08 180884580 imstrmcs09