I wrote a perl script some time ago, which went into my online bank and emailed me my balance and mini presentation every day. I found it very useful for tracking my finances. The only problem is that I only wrote it using perl and curl, and it was pretty complicated and hard to maintain. After several instances of my bank changed their web page, I became tired of debugging it so that it would be updated.
So what's the best way to write such a program so that it is easy to maintain? I would like to write a good well-designed version in Perl or Java, which is easy to update when the bank inevitably starts playing on its website.
source
share