Simple play icon Course
Skills Expanded

Learn Perl by Doing - Part 2

by John Purcell

Files, Collections & Regular Expressions

What you'll learn

In this part of the tutorial we'll delve into one of the many things that Perl does best -- reading data from files. We'll look at reading comma separated value files (CSV) as an example; we'll look at more regular expression concepts to enable us to clean and check the data we read, and we'll investigate Perl's ability to build complex data structures, allowing us to represent ultimately even the most complicated data in our programs' memory, where we can manipulate it to our hearts' content. We'll also look at web scraping with Perl; the art of collecting data automatically from Internet sites -- where it's legal to do so, of course.

About the author

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and Netherlands, I decided to work full-time as a private software trainer. I now live in the beautiful city of Budapest, Hungary, from where I run the website http://www.caveofprogramming.com.

Ready to upskill? Get started