I wrote this script for myself, and being a Canadian, I’m converting each foreign currency into Canadian dollars.
Given a csv file which has on each line the foreign currency and the date in the format shown in Example Input Data, the Perl script looks up the exchange rate information and generates a csv file as output.
It took 10 seconds to get the data from 100 pages.
If you want exchange rate data like this, you can use this script too, or modify it for your own purposes.
If you’d like me to modify this, or create a custom script for you, let me know. I am available for hire as a freelancer on UpWork. My profile is here.
Example Output Data:
Example Input Data:
I’m using ActivePerl.
By downloading this software, you agree to the following:
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.