Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

  reversethis-{gro.napc} {ta} {nbsanoj}
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Thursday March 27, 2003
06:15 AM

Revisiting Perl Script

[ #11260 ]

I have had the chance to revisit one of the scripts I had taken over from a consultant earlier due to the need of a new feature.

The feature was inserting a complete email into an Oracle CLOB field. This was no problem using DBI.

The solution was hastedly made and was followed by a refactoring and some addtions to the POD.

Perl Rocks!

I really enjoy working with Perl, Unofortunately I had to fall back to a varchar2(4000) sized field due to problems with the OLEDB driver we use for our VB.NET client which cannot read CLOBs.

Anyway rolling back was no problem either, but since I might run into size problems I parse the mail before inserting it and again I was amased by the ease of writing a simple parser in Perl.

So implementation, followed by refactoring and documentation and test...

Nothing like a success in the morning...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.