IBM has just published an online tutorial on Using Perl to access DB2 for Linux. The tutorial is free, but does require registration (completely opt-out of marketing info)

The tutorial breaks down into 6 sections:
  • Tutorial Tips
  • Required Hardware and Software
  • The Perl DB2 components, explained
  • Installing the Perl DB2 components
  • Perl DB2 programming
  • Wrapup
  • The tutorial starts out with the basics and then goes into some intermediated DBI programming. The programming section is fairly generic in regards to other RDBMS's, with many aspects that translate right over to MySQL or PostgreSQL. The DB2 specific sections seem to be focused on the DBI connection to DB2.

    If you are going to start DBI programming or you are using DB2 this tutorial is a great starting point. Once you register the tutorial is also available in PDF or Zipped(not gzip?) HTML.



    grep
    grep> grep clue /home/users/*

    Replies are listed 'Best First'.
    Re: Using Perl to access DB2 for Linux
    by vladb (Vicar) on Feb 25, 2002 at 21:42 UTC
      This seems to be a pretty good tutorial, thanks grep. Generally, I very much applaud such companies as IBM who do not shy away from technologies (such as Perl) that smell open source ;-).

      Unfortunately, I had to write a few perl scripts to work with various Microsoft products (such as MS Access, for one), and I would certainly appreciate it if M$ considered writing a tutorial on how to use Perl most effectively for their technologies. Of course, they are not very interested, which leaves me with but a single option and that is to simply 'shut up'.

      "There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith
        ... other options are to use the products (if you can) from companies that do "get" open source :^)

        ..Guv

    Re: Using Perl to access DB2 for Linux
    by talexb (Chancellor) on Dec 15, 2008 at 22:24 UTC

      This link is now broken -- I don't know if it's been moved to a new location.

      Alex / talexb / Toronto

      "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds