Hi there, Somewhere I found an example how to check if a website is up. Here my sample:
#! /usr/bin/perl use strict; use LWP::Simple; my $url="https://notabug.org"; if (! head($url)) { die "$url is DOWN!!!!" } Running above code I get https://notabug.org is DOWN!!!! at ./check_url.pl line 8. However, firefox shows the site works ok. What am I doing wrong? -- Thanks, Manfred -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/