wesley chun wrote:
> The script in the following can do the batch conversion from domain
> name to IP:
This is a Python list, not Perl!
>>> OMG! It's my mistake, sorry for this.
>> Lol..thats okay. Now that you are here and have seen what fun we have
>> writing Python code - why not
>> >> The script in the following can do the batch conversion from domain
>> >> name to IP:
>>
>> > This is a Python list, not Perl!
>>
>> OMG! It's my mistake, sorry for this.
>
> Lol..thats okay. Now that you are here and have seen what fun we have
> writing Python code - why not join the party
Lol..thats okay. Now that you are here and have seen what fun we have
writing Python code - why not join the party?
Don't be shy to join us :p - i bet you won't be sorry.
On Sat, Jan 31, 2009 at 4:11 PM, wrote:
> On Saturday, January 31, 2009 at 21:44, ken...@tds.net wrote:
> > On Sat, Jan 31
On Saturday, January 31, 2009 at 21:44, ken...@tds.net wrote:
> On Sat, Jan 31, 2009 at 7:11 AM, wrote:
>> Hi all,
>>
>> The script in the following can do the batch conversion from domain name to
>> IP:
> This is a Python list, not Perl!
OMG! It's my mistake, sorry for this.
--
Hongyi Zhao
On Sat, Jan 31, 2009 at 7:11 AM, wrote:
> Hi all,
>
> The script in the following can do the batch conversion from domain name to
> IP:
?? This is a Python list, not Perl!
Kent
>
> --
>
> #!/usr/bin/perl
> use warnings;
> use strict;
> use Socket;
>
> while ( <> ) {
> chomp
Hi all,
The script in the following can do the batch conversion from domain name to IP:
--
#!/usr/bin/perl
use warnings;
use strict;
use Socket;
while ( <> ) {
chomp;
my ( $address, $port ) = split /:/ or next;
my $number = inet_aton $address;
my $ip = in