in reply to Improve My Code...
The code below is used to create a list of dates from 18960101 to 20090717 using Date::Simple, access and submit a form using MechanizeJust in principle, I'm going to object to this code on moral ground. That's roughly 45000 web hits, going through all the machinery to generate a web page for a non-human entity that will throw away 90% of what's generated. Even if it's your own machine (and if so, why bother with the web interface), it's a big waste of CPU. And if it's not your machine, it's unethical, unless you have written permission from the owners.
Just because you can scrape something doesn't mean you should. Please learn the difference.
-- Randal L. Schwartz, Perl hacker
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Improve My Code...
by mchampag (Acolyte) on Aug 02, 2009 at 01:10 UTC | |
by merlyn (Sage) on Aug 02, 2009 at 05:30 UTC | |
by Anonymous Monk on Aug 02, 2009 at 01:30 UTC | |
by cheech (Beadle) on Aug 09, 2009 at 21:33 UTC | |
by Anonymous Monk on Aug 10, 2009 at 00:28 UTC | |
|
Re^2: Improve My Code...
by Anonymous Monk on Aug 02, 2009 at 01:37 UTC | |
|
Re^2: Improve My Code...
by cheech (Beadle) on Aug 02, 2009 at 01:59 UTC | |
|
Re^2: Improve My Code...
by Anonymous Monk on Aug 02, 2009 at 00:51 UTC |