1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<!--
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2012 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-->
<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry id="HO-S-8">
<refmeta>
<refentrytitle>Perl Runtime Hosting</refentrytitle>
<refmiscinfo>tutorial</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Integrating Perl Scripts with Virtuoso</refname>
<refpurpose>Using Perl code to extend Virtuoso.</refpurpose>
</refnamediv>
<refsect1 id="HO-S-8a_overview">
<title>Overview</title>
<para>The following tutorial demonstrates how Virtuoso can be extended
through the use of Perl.</para>
<para>The demonstrations in this section highlight transparent integration
(hosting) between Virtuoso and the Perl Runtime. </para>
</refsect1>
<refsect1 id="HO-S-8a_overview_prerequisites">
<title>Prerequisites</title>
<para>The following prerequisites ensure the usability of these tutorial demos on any platform with a Perl runtime:</para>
<itemizedlist>
<listitem>Perl 5.6 or higher for UNIX platforms or ActivePerl 5.8 or higher for Windows platforms</listitem>
<listitem>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)</listitem>
<listitem>Perl should be compiled with -Dusemultiplicity</listitem>
<listitem>Virtuoso Universal Server with Perl Runtime Hosting module</listitem>
</itemizedlist>
</refsect1>
<refsect1 id="HO-S-8a">
<title>Tutorial Example</title>
<para>The following tutorial shows how Perl scripts using CGI.pm are executed within Virtuoso HTTP server. </para>
<para>Please follow the steps below to maximize the value of this tutorial:</para>
<orderedlist>
<listitem>Click on the "Run" links to actually experience the demo</listitem>
</orderedlist>
</refsect1>
</refentry>
|