I've seen some nice responses and some supportive /msgs in the chatterbox. Thanks!

Already, I have a couple of interesting leads to follow up on. In the meantime, I thought I would toss out one of the more amusing debacles that occurred here.

The IS director was writing some code and asked me a question about it. It seems that he was writing a routine that recursively searched directories and deleted old files. Can you say "File::Find" boy and girls? I knew you could.

I mentioned that the File::Find module could handle that safely and he replied "this code is so simple that I don't need a module to do this." -- Yeah, you can see this coming a mile away, I know :)

I cracked open the Cookbook and took about two minutes to write AND test the code that he was developing. My boss took about an hour. Once he was satisfied with it, he ran it on our development server. The code went wild and got into an infinite loop and deleted most of our development environment and crashed the server. It took about half a day to restore everything from backups and get to work again.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.


In reply to (Ovid - funny) Re: What quality is your company's code? by Ovid
in thread What quality is your company's code? by Ovid

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.