Unformatted text preview:

1Advanced Perl11-7-20052Opening Discussion■What did we talk about last class?■What did you find interesting in the reading for today?3Simple Databases■The contents of this chapter don't really count as databases, but they are simple ways of storing information and how to modify it.■What are DBM files and how do you interact with them?■How do you do random access files in Perl? Compare this to how you would do it in other languages?■What are some of the issue of dealing with “text databases”? What tools does Perl give you to make this easier?4Advanced Techniques■eval – This is how you do error handling in Perl.■grep and map – These remarkably functional like functions perform standard operations on lists.■Non-greedy Qualifiers – Normally the quantifiers try to match as much of the string as they can and still make a complete match. By putting a ? after them you change their behavior so they match as little as they can while still doing a complete match.■Slices – You can pull multiple items from a list, array, or hash in Perl much the same as you could in Matlab. The method isn't quite as powerful and the syntax is worth noting.5Reminders■Remember to turn in assignment #8


View Full Document

TRINITY CSCI 2323 - Advanced Perl

Documents in this Course
Load more
Download Advanced Perl
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Advanced Perl and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Advanced Perl 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?