[Sussex] Ruby DNS library MX resolution problem

Ronan Chilvers ronan at thelittledot.com
Mon Jun 20 13:41:37 UTC 2005


On Mon, 20 Jun 2005 14:21:20 +0100
Thomas Adam <thomas at edulinux.homeunix.org> wrote:

<snip>
> 
> You must use String#chomp, hence:
> 
> a=[]
> while l = STDIN.gets
>   a << l.chomp()
> end
> 
> a.each {|b|
>   d=Checker.new(b)
> }
</snip>

Ah ha!!!  Fab!!  

Thanks very much for the help - much appreciated.

Cheers

Ronan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20050620/ae4b0c68/attachment.pgp 


More information about the Sussex mailing list