in reply to How can I do this better?

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.

Replies are listed 'Best First'.
Re: Re: How can I do this better?
by spaz (Pilgrim) on Jan 19, 2001 at 04:26 UTC
    Well I was wondering if there were any inefficiencies or Bad Form (c) portions of the code. Also if there are any shorter/clearer ways to do this.