Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I think those were my useless bloviations, and I disagree that they were useless. We argued about this, Tom and I, when we rewrote the FAQ. I argued for just pointing to modules. He argued, convincingly, that that's not teaching people how to fish, that's just giving them a Fish McButtplugget.

    "Read the file, write a temporary file reflecting your change, move temp file over original file" is a classic programming idiom, and any programmer worth his or her salt needs to know that. By all means point th

    • You wrote that? I'd swear that it was classic Tomic tone, especially here:
      ...those are operations of a text editor. Perl is not a text editor. Perl is a programming language. You have to decompose the problem into low-level calls to read, write, open, close, and seek.
      Might as well just attach "NO, YOU'RE WRONG!!!" to the answer.
      • We might as well throw away the regex engine and tell the users to dust off their discrete math book (and if they don't have one, they obviously are not worthy) and implement the state machine themselves, because what the hell is pattern matching doing in a "programming language".