Perl Runtime Hosting
HO-S-8 Integrating Perl Scripts with Virtuoso
Using Perl code to extend Virtuoso.
Overview
The following tutorial demonstrates how Virtuoso can be extended through the use of Perl.
The demonstrations in this section highlight transparent integration (hosting) between Virtuoso and the Perl Runtime.
Prerequisites
The following prerequisites ensure the usability of these tutorial demos on any platform with a Perl runtime:
- Perl 5.6 or higher for UNIX platforms or ActivePerl 5.8 or higher for Windows platforms
- The DBI and DBD::ODBC Perl modules MUST be installed in order to run second example. (reffer to your Perl distribution documentation how to install them if they are not already installed)
- Perl should be compiled with -Dusemultiplicity
- Virtuoso Universal Server with Perl Runtime Hosting module
Tutorial Example
The following tutorial shows how Perl scripts using CGI.pm are executed within Virtuoso HTTP server.
Please follow the steps below to maximize the value of this tutorial:
- Click on the "Run" links to actually experience the demo
In order to run this example you need Perl Runtime Hosting Plugin Enabled.
| View the source | Action |
|---|---|
| 1. cgi.pl | Run |
| 2. cgidb.pl | Run |
OpenLink Home
Technical Support