http://www.perlmonks.org?node_id=473167


in reply to Script to update your PPM Repositories

This didn't work for me -- gave me a fit. I'm running ActiveState perl on NT4SP6.

To solve it, I ended up modifying the line that instantiates a new Net::Ping object. It now looks like this:

my $p = Net::Ping->new('icmp');

I also ran the script logged in as Administrator. My tips came from the following two nodes, both by [id://tye]:

Net::Ping, the mini series

(tye)Re: Net::Ping troubles

Replies are listed 'Best First'.
Re^2: Script to update your PPM Repositories
by tphyahoo (Vicar) on Jun 03, 2006 at 21:51 UTC
    incorporated that into OP script. thanks!