Working on a branch automation project at a bank I was analysing log files and sniffer traces. Awk was what I knew and used. My contemporaries were importing into spreadsheets and bogging down. A consultant was advising we contract with him to put it into a database and develop reports. I was at least able to get some useful data extracted.

We had a problem to solve. The developers asserted the network performance was killing their application. The network guys (which included me) asserted the development team was doing some fundamentally flawed things.

Since awk did not have an internal sort I was sending the data to the system - MS DOS in this case - to sort the data. The volume of data was greater than the available RAM and the DOS sort needed to stuff everything into memory.

I'd heard of Perl and had be vowing to learn it. My copy of Progamming Perl was woefully underused. Checking it I did see that Perl had its own sort. A quick test program showed that Perl could and would sort my data set.

I applied Perl to the problem at hand. Spent one weekend with Learning Perl dutifully doing every exercise. Applied Perl to every problem I could figure out how to address in the language. Didn't look back.

As to the developers vs. network guys battle … I showed that, among other things, the developer's programs were opening, reading and closing the same file 4.77 times a second for the entire duration of the run. Made the spiffy new 486s crawl like an original XT.


Be Appropriate && Follow Your Curiosity

In reply to Re: What was the bait (project, problem or opportunity) that hooked you on Perl? by mikeraz
in thread What was the bait (project, problem or opportunity) that hooked you on Perl? by generator

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.