Friday, December 14, 2007

Installing modules in Perl

The easiest way to install the Perl modules from CPAN is to use the CPAN module. For e.g. the following command will install the XML::Simple module.
perl -MCPAN -e 'install XML::Simple;'
If you wish to view the readme file for a particular module, try this command (I am viewing the readme file for XML::Simple module):
perl -MCPAN -e 'readme XML::Simple;'
Another useful way of running CPAN module interactively is to give the following command:
perl -MCPAN -e shell
Once you get the shell prompt "cpan>", try "help" to get to know more useful options. To know more, refer here.

Monday, December 03, 2007

Essential Firefox plugins

Here is a list of three plugins for Firefox that really makes my life a lot easy, secure and fast.
I have written an article earlier about Adblock and it can make your browsing experience better by getting rid of unnecessary ads.

If you are working in multiple machines (your laptop, your desktop, etc), Foxmarks will help you to sync up all the bookmarks automatically.

NoScript is for preventing those junk scripts that really slow down your system and at times prove to be insecure. Be prepared for surprises! Some times the web pages you visit might not work the way you expect them to ("Why the link doesn't take me anywhere which I click?"). The JavaScript that is supposed to kick in on clicking the link might be blocked by NoScript.