Advanced Perl Technologies COURSE DESCRIPTION This course teaches advanced concepts and capabilities that can be used to write procedures in Perl (V5), especially the new interfaces that use object-oriented features. COURSE OBJECTIVES Each participant will be able to use Perl techniques and commands to write scripts to perform various user and administrative tasks, implementing advanced features of the language. COURSE TOPICS =========== REFERENCES, MODULES, OBJECTS, EXTENSIONS ====== Using Perl Typeglobs Perl variables, symbol tables, and scope Typeglobs usage with functions local, global, private variable scopes Using Perl References Purpose of references Querying a reference Symbolic references Multi-dimensional arrays Complex hash structures References to functions Closures Perl Modules and Packages Basic packages Packages and component files Using Exporter and the ISA array Initialization and destruction Accessing the symbol table Object Oriented Perl Programming Objects in Perl Inheritance Methods of passing arguments to the constructor Data persistance methods Flat file databases Concurrent access and lock mechanisms Using the Tie capabilities MLDBM (multi-level database) extension Extending Perl Writing an extension feature for Perl Implementing a Perl extension Perl Scripts for Networking with Sockets An Introduction to Perl/Tk Adding documentation to Perl procedures =============== Perl DBI ================ Overview of Data and Databases Usage on various types of systems Historical interfaces Role of Perl in data acquisition and access The Perl Database Interface Extensions Obtaining necessary files Extending Perl with DBI DBI architecture (within Perl) Programming the Perl DBI Handles Data Source Identifiers Database connection / disconnection Error handling Miscellaneous utility methods Simple queries Non-SELECT statements Binding Parameters and Output Columns The do() and prepare() methods Attributes and metadata Transaction locking DBI Shell and Proxy Databases dbish distribution Features and usage COURSE DURATION This course normally requires four (4) days, approximately 50% lecture and 50% lab time. COURSE PREREQUISITES Completion of the Programming in Perl course (on either Unix or Windows platforms) is assumed, or a knowledge of the Perl programming language. |