Your question is unclear. What is it that you want to do better? Do you want to know a better way if a web page doesn't exist or a server is down? (Catch any error that the web server returns, if any- using their error number and string information or
Net::Ping a potentially dead server.)Or do you want to be more instructive to the user? (Try
warn or any of the
Carp utilities.) Would you like to improve speed efficiency? Also, no biggie, but you could try the more Perlish
for loop:
for(1..3){stuff;}
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.