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 11. FILE MANIPULATION

Processing information is one of Perl's major strengths – it's easy to read in, split, identify, and summarize information largely because Perl was designed entirely with this process in mind. Because we can use split(), join(), hashes, and regular expressions we have access to a powerful toolkit for interpreting just about any text file. For manipulating file systems – including permissions and ownership – Perl also has strong built-in facilities, although many of them are Unix-related.

Although Python does not have these abilities built-in, it does come with modules that provide you with basic string handling (string), regular expressions (re), and powerful facilities with basic string, list, and dictionary manipulation. ...

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