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

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.
  • by perrin (4270) on 2005.09.28 13:36 (#43550) Journal
    The funniest part is how it ends with the guy wandering off to try and do it in C...
    • Yeah, if he really wants to work in packed decimal efficiently (BCD) he should be using Cobol [wikipedia.org].
      (Don't laugh, $DayJob->employer still hires Cobolistas, and Cobol2002 supports Unicode and XML.)

      The questioner could also get direct access to BCD with PL/1, the original Swiss Army Chainsaw [plover.com], which brings us back to MJD.

      The questioner couldn't see the forest for the trees BCD only saves him 50% memory compared to Tiny (byte) integers or array of chars. (Or Tiny costs only 100%.) Which in big-oh notation is

      --
      Bill
      # I had a sig when sigs were cool
      use Sig;