RE: Problem with Net::Ping to DFS cluster

"Oeschey, Lars (I/ET-83, extern)" <[email protected]> Fri, 20 Apr 2012 15:15:04 +0200
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
> I would try one of Net::DNS::Resolver, gethostbyname,
> Net::hostent:gethost

That's a good idea... the only thing I'm doing with that part of the script, trying to figure out if the machine (laptop) is in the network (those are a lot out in the field) and then copy some files to the target. So I could do that check also with a resolve instead of a ping...

Thanks, Lars
(oh, and I have no idea, what is stored behind that DNS alias... I guess it's somewhat dynamic to prevent failure of the whole DFS if only one host goes down)
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs