Month: August 2010

Env

Perl provides access to environment variables via the global "%ENV" hash. However, if using the ENV module, it will create global scalars for all the [...]

FindBin

Its usage is like: use FindBin; use lib "$FindBin::Bin/../lib"; or use FindBin qw($Bin); use lib [...]

Using hash for counting

When we have an array or a list of items and we want to find out the number of occurrences of a particular item then we generally use the following kind of [...]

Copying and Substituting Simultaneously

When the purpose is to search and replace a copy of the string and the intention is to accomplish this in one step then instead of doing this: $dst = [...]

WebAPP

WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated [...]