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.
  • Not strictly related, but: "Ruby 1.8.6 and Python 2.5 are both first-class languages for Mac development []".
    • Why? I'll tell you why.

      Because Perl is resistant to being processed by development tools.

      Plain and simple.

      This is the same reason that Google goes for Java and Python mainly, because you can write huge toolchains around it.

      Perl is impossible to parse.
      • What makes Perl impossible to parse (note: compared to Python)?
      • Is it true that a subset of Perl that eliminates string eval and a couple of other features is parseable? What's happened to efforts based on that?

        I'm running on low sleep, and there's probably an answer to this, and I should probably know it, but I'd like a refresher for my poor brain. :)

        J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
        • I think such a subset is conceivable, but it won’t be of much practical interest, as it must necessarily exclude BEGIN as well as assignment to globs, which effectively means no use.

      • Perl is impossible to parse.
        No longer so. Take a look at PPI [], which is a programmatic way to parse and manipulate Perl code without perl. But I agree it probably came too late (2002? 2003?).
        • Take a look at PPI []

          You know you are talking to the author of PPI, right?

        • PPI is a programmatic way to parse and manipulate Perl documents.

          It is NOT a way to parse and manipulate Perl code.

          I know you probably didn't mean to say it in those terms, but the distinction between code and document is extremely important in this case.

          This is why providing method name tab-complete, probably the most obvious of all editor assistance functions, is incredibly difficult to do in Perl.

          Even after PPI came out, it took a long time for people to realise that "syntax parser" was not necesarily go