in reply to sort of cheating?

The get number 2 is bad. => 2.japh.phroggy.com print scalar gethostbyname "$_.japh.phroggy.com" for 0 .. 6;