Skip to Content
Perl To Python Migration
book

Perl To Python Migration

by Martin C. Brown
November 2001
Beginner
320 pages
5h 53m
English
Pearson Business
Content preview from Perl To Python Migration

Chapter 3. PYTHON OVERVIEW

Migrating from Perl to Python is not actually as difficult as it first appears. Despite a distinctly different focus on the development of the two languages, they both have similar features and use similar methods and procedures to achieve their goals as all-round scripting languages.

But how can we gain the most benefit form our experience of Perl so that it can be used when we program in Python?

At a very basic level, there are few differences between the general execution and layout of a Python script compared to a Perl one. Statements are executed sequentially using a very similar precedence model to that employed by Perl. We also have access to a very similar set of basic data types – the familiar scalar, array, ...

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.
Start your free trial

You might also like

Perl in a Nutshell

Perl in a Nutshell

Nathan Patwardhan, Ellen Siever, Stephen Spainhour
Perl by Example

Perl by Example

Ellie Quigley
Perl Hacks

Perl Hacks

Chromatic, Damian Conway, Curtis Ovid Poe, Curtis (Ovid) Poe

Publisher Resources

ISBN: 0201734885Purchase book