After creating or editing any of the Finance::Quotes modules you need to test them. To test, open a terminal window and do the following to check if the module gives any errors$ cd /usr/share/perl5/Finance/Quote <enter>$ sudo cp ~/MumbaiStock.pm . <enter>$ cd ~ <enter>$ gnc-fq-check <enter> If above command returns any errors, then modify the MumbaiStock.pm … Continue reading How to debug MumbaiStock.pm with Finance::Quotes
Git is a very good tool that allows you to publish your project or source code to the github web repository. It allows others to view your code / project and make changes, with one of the best version control systems around. I will use the MumbaiStock project on github as an example to illustrate … Continue reading How to use GIT to publish project / source code to github
Note that I no longer use github. This post is for technical users. The objective is to share how the MumbaiStock.pm module was created. Visit this other post to know how to add the MumbaiStock.pm to Gnucash and use it. Problem: A friend of mine uses Gnucash to manage their personal finances. They configured and … Continue reading How to create a new stock quote source for Gnucash using Finance::Quote
Many of us use a text editor to edit program code. The simplest and clean edit is GEdit on the Gnome desktop. However, if you are not on the Gnome desktop, you may miss it. You can use JEdit which is much more powerful, however, by default, it does not open multiple programs alongside each … Continue reading How to open multiple buffers in JEdit like in GEdit or Mousepad
$ su # perl -MCPAN -e shell Answer <ENTER> to all questions (choose defaults) To install CPAN modules: Start up internet # cpan>install Time::HiRes This will install and compile the downloaded module.
If you get above error in perl, your first line of the perl script is not #! /usr/bin/perl or the # may be missing from it or there is a spelling mistake