in reply to formatting the output

Hi Anonymous Monk,

You may want to take a look at the Net::Ping module.

Cheers

Martin