Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
There's a level of Hell reserved for the person who incorporated the concept of "ASCII" and "binary" files into the FTP protocol and the Windows operating system - Come'on, it's all just bits, ones and zeros, people!

Hope you never have to work with VMS. Or pretty much anything besides Unix, actually. But there may very well be a level of hell reserved for people who create filesystems that have multiple separate ways to store data associated with a file, dub one of them the "data fork", and then proceed to store data in the others.

There's a level of Hell reserved for the person who incorporated the \r\n line feed on Windows platforms

No, that's standard-compliant behavior. There's a level of hell reserved, I'm quite sure, for people who decide to save one byte per line by ignoring bits and pieces of well-established standards such as ASCII. (Not that the folks at MS aren't guilty of things like that too, but we can't take the time to list those infractions here, and they aren't Perl-related anyway.) A Windows file you can just send straight out a socket, but a Unix-style file has to be munged to adhere to all the protocols when you send it over the network. (That's not why MS followed the standard, though; they didn't care at the time about networks; they just wanted to be able to toss a file at the parallel port and have the printer "just work" with no driver. Remember ASCII printers? Yeah. I even had one that did Extended ASCII. The output was barely legible, but hey, it worked.)

for(unpack("C*",'GGGG?GGGG?O__\?WccW?{GCw?Wcc{?Wcc~?Wcc{?~cc' .'W?')){$j=$_-63;++$a;for$p(0..7){$h[$p][$a]=$j%2;$j/=2}}for$ p(0..7){for$a(1..45){$_=($h[$p-1][$a])?'#':' ';print}print$/}

In reply to Re: There's a level in Hell reserved for ________ by jonadab
in thread There's a level in Hell reserved for ________ by dws

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 studying the Monastery: (5)
    As of 2018-06-19 20:38 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (114 votes). Check out past polls.