- Course
Learn Perl by Doing - Part 2
Files, Collections & Regular Expressions
- Course
Learn Perl by Doing - Part 2
Files, Collections & Regular Expressions
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
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.