Tip

PERL meets Oracle

This is Chapter 1 from the 2002 O'Reilly book "PERL for Oracle DBAs," available for purchase here.

Perl is the world's number one solution for transforming and gluing data together, and Oracle is the world's number one

    Requires Free Membership to View

solution for storing that data. In this book we'll explore the interface between two of the finest American inventions since baseball and pretzels.

In a nutshell, Perl is a freely available interpreted scripting language that combines the best capabilities of a variety of other languages. Despite borrowing other language capabilities, the whole of Perl is far greater than the sum of its parts. Perl was designed especially to be:

  • Extremely fast, in order to be useful when scanning through large files
  • Especially good at text handling, because data comes in many different forms and Perl has to handle them all
  • Extensible, in order for Perl to expand users' horizons, not restrict them

How do Oracle DBAs, developers, and users take advantage of everything that Perl has to offer? This chapter sets the scene by introducing you to Perl and how it connects to Oracle. We'll look at the following:

  • Perl's origins and advantages: We'll take a look at where Perl came from and what makes it such a popular and powerful language.
  • Perl/Oracle architecture: We'll see how Perl connects to the Oracle database via the Perl DBI module, the DBD::Oracle program, and Oracle's own OCI product. These modules interact to allow Perl programs access to Oracle databases.
  • We'll discuss why Perl is a particularly appropriate language for Oracle DBAs to learn and use.

Read the complete chapter here.


This was first published in September 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.