Stories
Slash Boxes
Comments
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 ]

tinman (2063)

tinman
  (email not shown publicly)

tinman spent a few years mucking around industry before going back to school for a Masters. Currently not enjoying the weather in North England..

He wrote Perl that looked suspiciously like C code in 1998, while working as an intern, and has been trying to cure that bad habit ever since.

Journal of tinman (2063)

Wednesday August 18, 2004
01:26 PM

IMAP

[ #20453 ]

Had this interesting hack today, where my supervisor gave me a mbox file filled with (a few thousand) mail from conference participants and I needed to tag who had replied to him and who (out of a list) hadn't.

He expected me to sit down and compile a spreadsheet with neat tick marks. I was given the rest of the week to do it. *cough* I did a quickie search on CPAN and found Net::IMAP::Simple. Of course, there is also the wonderful Spreadsheet::WriteExcel. 30 minutes later ...

Done.

No cookie ? Ok. More work ? *loong pause* Ok.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The real trick with PHBs is to use up the entire time alotted, although you were only working on it for 30 minutes. Remember the scotty principle! Make hours seem like days!
    --
    • Randal L. Schwartz
    • Stonehenge
    • *grin* I know, I know. A couple of other people who heard the story didn't put it as nicely as you did either. Quite naive of me.

      At least he still doesn't "get" the concept of CPAN, so I will have an opportunity to put the Scotty Principle into action soon enough

  • Back in the mid-70's in the summer before starting my Master's degree I was working at an oil company that was up to date with modern (for the day) practices. There were a number of "databases" (which were structured record files on multiple 9-track tapes) and a raf of Cobol programmes used for creating and managing them.

    I was given the job of generating one-shot reports that weren't in the standard existing daily/weekly/monthly report cycle. Things like "find all of the customers in these 5 region codes