in reply to Can Perl do calculations?

In addition to the excellent book that davido suggested, you might also find Simon Cozens' Beginning Perl, which is available free online, useful. Chapter 2: Working with Simple Values (PDF format) explains data types, variables and operators and is a good introduction to performing calculations using Perl.

Rozallin J. Thompson