in reply to Net::Ping blowed my mind

$url? I think you mean $hostname or $ip not $url :)