in reply to
Re: Net::Ping duration question
in thread
Net::Ping duration question
That did it, thanks. I got no error so assumed Time:HiRes was there, but didn't see I needed to make that call. All bueno now!
Comment on
Re^2: Net::Ping duration question
Replies are listed 'Best First'.
Re^3: Net::Ping duration question
by
frozenwithjoy
(Priest)
on Jun 21, 2012 at 06:11 UTC
Perfect! By the way, if you print out
$ret
, what do you get? I keep getting 0, even though I'm getting realistic duration values. I was under the impression that I'd get
$ret == 1
if the host was reachable.
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom