Chapter 3
Perl and Python
IN THIS CHAPTER
Understanding the structure of Perl and Python programs
Commenting to your heart’s content
Declaring variables
Using mathematical operators
Working with branching and looping statements
Making functions
Creating data structures and objects
Perl and Python are scripting languages meant to help programmers create something easily. The main difference between Perl and Python over traditional programming languages is their intended use.
Systems languages (such as C/C++) are meant to create stand-alone applications, such as operating systems or word processors, which is why systems languages are almost always compiled.
Scripting languages are meant more for linking different programs together, such as transferring data that someone types into a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access