I try to write a script to fecth some webpages from the internet, parse
the webpages and write them into csv format file.
Here are the formats of webpages:
I use two loops to do the job. 1) one loop is to iterate from letter A
which I have it done by iterate an array containing letter A to Z.
2) another loop is to iterate the number from 1 to whatever numbers I
prefer (or using a while loop).
If I write the script in a procedural way I have no problem at all but
they look kind of ugly. Now I try to rewrite them with OOP method. My
confusion here is that where should I write the loops: in the main
scripts and define a method for them and call the method in the main