I've spent much of my career dealing with systems on many levels in the embedded world. UNIX m/f talking to PC's talking to strings of embedded controllers, etc.

Recently, I was downvoted (appending is not done) for saying that something as mundane as a munged (minged? ;)) #! line might make otherwise sane code do something stupid. I thought I'd explain my rationale and the experience that led me to it. I agree that my suggestion was unlikely, and I did so qualify it, but it's not impossible.

Today's computer systems consist of many layers of software sitting on top of many layers of firmware and hardware logic. Further, this software has often been subjected to upgrading processes, none of which are ever guaranteed to have been complete or completed without error. There are often multiple variants of libraries resident on systems, and they are often all required by something or another. The legendary Linux kernel and (g)libc snafus come to mind here, but the problem is far more widespread than that. At work here (Sandia Labs), we have production systems running old code that we can't afford to take offline, and some of them still have non-Solaris SunOS. Who's to say what Perls are installed there, and where they are? More importantly, who's going to know what bugs are still buried in their kernels from waaay back then?

I've seen enough strangeness happening (even without considering inimical code from evil empires like M$) not to discount any possibility. 90% of all electronics-related problems are caused by cables and connectors, but, of the rest, more are due to mistaken assumptions than bugs.

In reply to On Systems and Strangeness by samizdat

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.