in reply to Net::Ping and STDOUT
Try these things
perl -e 'print "hi\n";' > junk
(or)
echo hi > junk
if you see output something strange is happening with your code.
If the code you showed is part of larger code then you might have to examine that piece as what you gave works just fine!
Unlikely situation but check your $| anyways!
cheers
SK
|
|---|