ChartDirector Ver 4.1 (Perl Edition)

Installation


Perl Version Compatibility

ChartDirector for Perl requires at least Perl 5.004_02, and has been tested up to Perl 5.10.0 (the latest Perl release as of the date of this document).

Note: ChartDirector for Perl on Mac OS X only supports Perl 5.6.0 or above. ChartDirector for Perl on Solaris (x86) and FreeBSD (AMD64) only supports Perl 5.8.0 or above.

Installing ChartDirector for Perl

ChartDirector for Perl is released as a zip file on Windows, and as a tar.gz file on Linux, FreeBSD, Mac OS X and Solaris. To install ChartDirector for Perl:

If you could not access any of the directories in the default Perl module search path (e.g. you are using a virtual web host, and the system directories are inaccessible to you), there are a number of alternative methods to install the ChartDirector for Perl module. For example:

Running ChartDirector Sample Programs

ChartDirector for Perl comes with numerous sample Perl scripts under the "ChartDirector/perldemo" and "ChartDirector/perldemo_cgi" directories. The former is for standalone scripts, while the latter is for CGI scripts. They are good examples and tutorials on how to use ChartDirector.

You may run these sample scripts to verify that ChartDirector is correctly installed.

To run the standalone ChartDirector sample scripts:

To run the ChartDirector sample CGI scripts:

Using ChartDirector for Perl in Your Own Scripts

Any Perl program that uses ChartDirector should include the following statement:

use perlchartdir;

Depending on how you have installed ChartDirector, you may need to copy the ChartDirector for Perl module files (*everything* in "ChartDirector/lib") to your script directory.

Installing the ChartDirector License

If you have purchased a license to use ChartDirector, you should have a license code delivered to your via email and postal mail.

If your license key is for upgrading from a previous version of ChartDirector, you need to append the upgrade license key to the previous version license key, and use the combined license key.

There are two alternative methods to install the license key.