I think you may find the node
Time-Slice Concurrent Ping in which I posted some code that can be used to ping multiple hosts concurrently of interest ... with no threads, no forking and no external binaries.
perl -le 'print+unpack"N",pack"B32","00000000000000000000001001100011"'