Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Having previously professionally used mainly assembler and C (along with a bit of BCPL and BASIC), my job writing a system in TCL to replace a crufty legacy C application had been obsoleted (canned by a new manager), but nobody had got around to firing me yet. So I was looking around for things to do, and trying to be helpful to the sysadmins, and looking a bit further into some languages I had previously rejected before settling on TCL for the original project. One of those languages was Perl, and I was starting to find it quite useful for all sorts of little things.

A couple of months later, someone messed up an update to the legacy system, and substantial chunks of the data used by a 15,000-strong online community of paying customers were destroyed. At this point it was discovered that the incremental backups were unusable, so the last full backup (several days old) was the only recovery option available; a full restore was unthinkable, but restoring only what was available of the missing data would also leave the system incompatible with each user's stored pointers, creating very visible problems.

Since I was already intimate with the structure of the various files involved (sequential mixes of fixed-size headers and variable-length data), I told that same new manager that in an hour I could write a perl script that would traverse all the user pointer files, crosscheck them against the partially restored data, and create placeholders for any missing data; this would be a minimal fix before we could allow the users to get back onto the system without it all falling over. My boss's support helped overcome his scepticism (thanks Gordon :), and an hour later the script was ready.

That got me hooked on perl as a lifesaver, and I never looked back - I've toyed with many other languages in the 10+ years since then, but never yet found anything that remotely threatened to supplant my affection for perl.


In reply to Re: I first became interested in Perl because... by hv
in thread I first became interested in Perl because... by jimt

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (4)
    As of 2018-05-27 18:27 GMT
    Find Nodes?
      Voting Booth?