Anyone interested in using Perl quickly grasps the difference between what a scalar, array and a hash are (signified by $
, @
and %
respectively). However what is often less clear is why $
is used when accessing arrays and hashes. Also when does one use ()
, []
and {}
, and what are the differences? Then there are typeglobs (*
)…
Perl
Posts about the Perl programming language.
I have been using Perl on and off since 2006. I have used it to write anything from small helper scripts to an 18,000 line fully fledged desktop application. It is now my programming language of choice for most tasks as I simply want to get on and solve problems or automate tasks. Perl enables me to do this.
These pages will hopefully provide useful information for anyone starting out using Perl or indeed people who have been using it for a few years.
The Perl vs Python Debate
I know, I know, you are probably thinking oh no not again. However, most articles on this subject seem to be very biased towards Python, using flawed arguments that do more to expose the author’s lack of understanding of Perl rather than shedding any new light on the subject. Hopefully this article will do better and help redress the balance.