Perl Tutorial

 

Table of Contents

Opening the Tutorial Project

Create the Perl Tutorial Project

New Project To create a set of project and program files for the Perl Tutorial, click here. You will be prompted to specify the destination directory for the Perl Tutorial project and associated files.

Existing Project If you have already made a working copy of the Perl Tutorial project and wish to use that copy instead of creating a new working copy, select File|Open|Project and navigate to the directory where you copied the project. Open the file perl_tutorial.kpf. The files included in the tutorial project are displayed in the Projects/Toolbox Pane. No files have been opened in the Editor Pane.

Top

Open the Perl Tutorial Files

In the Projects/Toolbox Pane, double click the files parse.pl, mailexport.xml and mailexport.txt. These files will open in the Editor Pane; a tab at the top of the pane displays their names.

Top

Overview of the Tutorial Files

  • mailexport.txt This file was generated by exporting the contents of an email folder (using the email program's own Export function) to a comma-separated text file. Notice that the key to the file contents are listed on the first line. The Perl program will use this line as a reference when parsing the email messages.
  • parse.pl This is the Perl program that will parse mailexport.txt and generate mailexport.xml.
  • mailexport.xml This file was generated by parse.pl, using mailexport.txt as input. When you run parse.pl (in Generating Output), this file will be regenerated.

Top Previous Next