Perl Samples

Hello World Pattern Match
Hello User Web Search
Perl Module Call PSP
Guest Book Configure Virtual Hosts
Hotel Info Send Mail
Hotel Reservation  

Hello World [10-Oct-2000]
This application is a very simple implementation of the hello world sample. The perl script displays Hello Oracle World within a HTML page.
Download Now (ZIP, 3KB)
Readme
Source

Hello User[10-Oct-2000]
This sample is to greet the user with user input name. The perl script displays text box and a continue button. The user can enter a name in the text area and press the continue button. On pressing the continue button a message is displayed greeting the user together with the date and time.
Download Now (ZIP, 4KB)
Readme
Source

Perl Module [10-Oct-2000]
This sample shows the use of the DBIPLUS module, a database access module for the Perl programming language. It defines a set of methods that provide a consistent database interface, independent of the actual database being used.
Download Now (ZIP, 4KB)
Readme
Source

Guest Book[10-Oct-2000]
This sample application demonstrates the features of DBI module. The perl script defines calls that enables it to connect to Oracle Database. It is a fairly simple implementation of the Guest Book application.
Download Now (ZIP, 7KB)
Readme
Source (guestBook.pl)
Source (viewGuestBook.pl)

Hotel Info [10-Oct-2000]
This Samples fetches hotel information from the database. It lists all the hotels from the database. When the user selects the hotel, more detailed information for that hotel is displayed.
Download Now (ZIP, 40KB)
Readme
Source

Hotel Reservation [10-Oct-2000]
This sample application demonstrates the implementation of shopping cart using perl. The sample displays a hotel reservation form and allows the user to make reservations or cancel reservations made in the current session.
Download Now (ZIP, 7KB)
Readme
Source

Pattern Match [10-Oct-2000]
This sample demonstrates the pattern matching capabilities of perl. The perl script does the following: search for occurrence of a keyword, find the lengthiest word, and find the average number of chars in the word.
Download Now (ZIP, 7KB)
Readme
Source

Web Search[10-Oct-2000]
This sample application demonstrates the implementation of a Simple Web Search Engine using perl. Perl is an interpreted language with powerful pattern matching capabilities.
Download Now (ZIP, 7KB)
Readme
Source

Call PSP [10-Oct-2000]
This sample application illustrates how to invoke a PSP( PL/SQL Server Pages) from a perl script. The perl script accepts date as input from the user. This date value is passed as parameter to the PSP which in turn displays the entry in the guestbook table for the specified date.
Download Now (ZIP, 7KB)
Readme
Perl Source
PSP Source

Configure Virtual Hosts[10-Oct-2000]
This samples creates data file for configuring virtual hosts. Virtual hosts allows to maintain more than single domain on the the same web server.
Download Now (ZIP, 8KB)
Readme
Source (emb.pl)
Source (configureVHost.pl)

Send Mail [10-Oct-2000]
This sample demonstrates how to send mail using perl script. It uses the functions in the UTL_SMTP - PL/SQL package. This script displays the form to accept the sender's address,recipient's address and message. When the user presses the send button the mail is sent. In case of any error while sending the mail, an error message is displayed.
Download Now (ZIP, 5KB)
Readme
Source

 
Left Curve
More Sample Code
Right Curve
 · Enterprise JavaBeans
 · Java Cookbook
 · JDBC
 · Servlets
 · OC4J

Left Curve
Discussions
Right Curve
 · Sample Code Forum
 · Oracle Application Server
 · OC4J/J2EE
 · SQLJ/JDBC

Left Curve
Tutorials
Right Curve
 · EJB 2.1 Techniques
 · J2EE Virtual Shopping Mall

Left Curve
How-To Documents
Right Curve
 · J2EE
 · JavaServer Pages
 · Java Stored Procedures
 · JDBC
 · Servlets
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy