On Mon, Nov 19, 2012 at 10:27:48AM -0600, JT Smith wrote:
> Is there are best practice for testing whether or not the CPAN
> testers server has public internet access? I have a module that
> passes on a bunch of operating systems and Perl versions, and fails
> on others. The only thing I can think might be wrong would be that
> many of the tests rely on access to a web service, and maybe that
> web service isn't allowed to be called from those boxes.

I don't think there is a best practice, but I have my own self contained
pingtest, which seems to do the trick:

https://metacpan.org/source/BARBIE/WWW-Scraper-ISBN-Amazon_Driver-0.27/t/10objectus.t

See the sub at the end :)

Cheers,
Barbie.
-- 
Birmingham Perl Mongers <http://birmingham.pm.org>
Memoirs Of A Roadie <http://barbie.missbarbell.co.uk>
CPAN Testers Blog <http://blog.cpantesters.org>
YAPC Conference Surveys <http://yapc-surveys.org>
Ark Appreciation Pages <http://ark.eology.org>

Reply via email to