Slashdot Mirror


Interviews: Ask Perl Creator Larry Wall a Question

Larry Wall created the Perl programming language (as well as the Unix utility patch, and the Usenet client rn ). This Christmas saw the release of Perl 6 -- a "sister" language to the original Perl -- that's also free and open source, after 15 years of development. Now Larry has agreed to give some of his time to answer your questions (joking that "I doubt my remarks will be quite as controversial as, say, Donald Trump's, but I suspect I could say an interesting thing or two...")

Larry also gave Slashdot's very first interview back in 2002 -- so it's high time we had him back for more heartfelt and entertaining insights. Ask as many questions as you'd like, but please, one per comment. (And feel free to also leave your suggestions for who Slashdot should interview next.) We'll pick the very best questions -- and forward them on to Larry Wall himself.

164 of 281 comments (clear)

  1. Question by mlwmohawk · · Score: 3, Interesting

    Why is the syntax of perl so bad? It lends itself to scripts that even the authors can't understand after a week or two.

    1. Re:Question by Anonymous Coward · · Score: 1

      Definitely something in this vein. It may seem like unfair criticism according to some, but Perl's cryptic syntax and control characters make some scripts damn-near unreadable, occasionally even to their own authors. I believe this is damage they are trying to undo with the latest release of Perl but I wonder what decisions led to that seemingly poor design choice.

    2. Re:Question by invictusvoyd · · Score: 5, Insightful

      Why is the syntax of perl so bad? It lends itself to scripts that even the authors can't understand after a week or two.

      Perl and "Rizla fine rolling papers" should have a common tag line :
      It's what you make of it

    3. Re:Question by Anonymous Coward · · Score: 2

      i have seen clean perl code , a lot of it . The problem is in the flexibility perl allows which allows some programers to pull tricks which introduce unnecessary complexity .

    4. Re:Question by Anonymous Coward · · Score: 5, Insightful

      Yeah, right. Just as C lends itself to it, just look at IOCCC.

      You can write shitty perl code, but you can also write beautiful code that is easy to read and maintain since perl is very high level and you don't need to bog down into technical details to solve everyday stuff. Just describe your algorithm and let modules do the heavy lifting (don't reinvent the wheel).

      Just because a sysadmin hacks together a five line perl script to fix an acute problem, doesn't mean that all perl code is shitty.

    5. Re:Question by hattable · · Score: 1

      WORN code

      Write Once Read NEVER!

      --
      OMG facts!
    6. Re:Question by toonces33 · · Score: 1

      For years my favorite scripting language was TCL - mainly because the syntax was fairly regular. But few other people used it, and that is why I rarely use it now.

      I have always detested perl. Other people write these damned scripts, and I get stuck trying to maintain and/or tweak them. I usually have to start by wasting time doing google searches on obscure operators to try and figure out what the hell the damned thing does.

    7. Re:Question by Megane · · Score: 1

      Because it merged C syntax with sed and awk, which are alien to anybody who has a Windows-only background.

      I still don't know where they got the "post-if" conditional variants from, maybe someone made a bet that he couldn't do it.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    8. Re:Question by bytesex · · Score: 1

      It isn't. It does, but it's your own fault.

      See how easy it is to answer very subjective questions?

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    9. Re:Question by Anonymous Coward · · Score: 1

      Agreed. I've seen people write pretty obfuscated C code which depends heavily on subtleties of the language. If you're not an experienced C developer, it's a real pain in the butt to work with code like that. Of course, there is plenty of what I would call clean C code out there, too.

    10. Re:Question by budgenator · · Score: 1

      Nobody uses TCL now because Microsoft used it as its scripting language in Xenix?

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    11. Re:Question by Bob+the+Super+Hamste · · Score: 1

      While perl makes it so it is possible to write scripts that are hard for the author to understand I find it better to make my scripts more readable even if they aren't as compact or fast as they otherwise could be. I will say one thing I probably have seen more unreadable, thus unmaintainable, perl code than almost anything else although Java gives it a good run for the money.

      --
      Time to offend someone
    12. Re:Question by mlwmohawk · · Score: 1

      Obviously there is no way to respond to this as "syntax" is a mater of taste. I can say this, though. Java and C type languages clearly delineate "punctuation" and special characters in to well known uses. Secondly, logical flow is wrong in perl, as in, "do_something unless foo" It is a brain dead way of expressing: if( ! foo) do_something. Most languages do not support this type of expression, and switching from java, to c, to python, to (yuck) perl it makes perl especially onerous to read.

    13. Re:Question by unrtst · · Score: 1

      It's to the point where I will refuse to even start debugging a program without the use strict an use string pragmas. When I write or edit my own Perl scripts, I make sure to type everything out ...

      Correct me if I'm wrong, but I think you mean "use English" instead of "use string". AFAIK, there is no string pragma.

    14. Re:Question by david_thornley · · Score: 1

      The conditionals aren't wrong, just more varied than you like. You can do "if (!foo) do_something" in Perl. "do_something unless foo;" is optional. Sometimes the additional options can lead to idiomatic phrases. Compare "if (!open file) { die; }" to "open file or die;" and tell me which is easier to read. I'd think that "unless" should mostly be used when the conditional action is almost always executed with some minor exception, and that it could be clearer than the C syntax in that way.

      If Perl is difficult to read because of use of non-standard syntax, it's badly written. It is easier to write a bad program in Perl than in Python, but I don't see that as a fault of the language.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    15. Re:Question by mr_mischief · · Score: 1

      There are guidelines for clear Perl code, too.

  2. Perls before swine by Anonymous Coward · · Score: 3, Insightful

    Why do you think so few people have adopted Perl as their language of choice?

    1. Re:Perls before swine by Wycliffe · · Score: 3, Informative

      I can answer that one: white space defined functions. Seriously, what the hell?

      Wrong language. Perl, like C, has no white space restrictions. If I understand your statement correctly, I assume you're thinking of python not perl.

    2. Re:Perls before swine by Shortguy881 · · Score: 1

      Lol, I know. I hadn't had my coffee yet and had python on the brain. I couldn't delete the comment though. Feel free to MOD it out of the discussion.

      --
      Brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants.
    3. Re:Perls before swine by shaitand · · Score: 2

      You do realize that Perl has massive adoption and that unlike most languages it's usage hasn't dropped over time?

    4. Re:Perls before swine by arth1 · · Score: 1

      Perl, like C, has no white space restrictions.

      Well, there's the perl format()/write() report functionality, which at one time was a key feature of perl (the r in perl). And I'm not talking about the formatting itself, but that the terminator (.) has to be on column 1 and can't be preceded by whitespace.

      Similar for mostly, perl is a well behaved language when it comes to formatting. It does give its users quite a rope lead, though.

    5. Re:Perls before swine by arth1 · · Score: 1

      Slashdot perl ate my chevrons.

      That should have been:
      Similar for <<'SOMETHING' embedded input, where the SOMETHING terminator must be on column 1 and neither preceded nor followed by whitespace. This has broken many a script when well-meaning devs have indented.
      Of course, it also allows you to use <<' SOMETHING ' and terminate with a string that starts and ends with spaces, to be really evil...

    6. Re:Perls before swine by immortalcrab · · Score: 1

      Lol, I know. I hadn't had my coffee yet and had python on the brain. I couldn't delete the comment though. Feel free to MOD it out of the discussion.

      Yeah like we have points to spare just cause you weren't properly drugged.

    7. Re:Perls before swine by The-Ixian · · Score: 2

      I am a sysadmin type and I decision tree is:

      Windows? -> Yes -> Can I use Batch? -> No -> Can I use Perl -> No -> Can I use Cygwin Perl -> No -> Use PowerShell
      Linux? -> Yes -> Can I use Bash? -> No -> Use Perl

      I can understand the developer h8 (I guess), but for me, Perl is an indispensable language.

      --
      My eyes reflect the stars and a smile lights up my face.
    8. Re: Perls before swine by Anonymous Coward · · Score: 1

      Its usage has most definitely dropped over time. I would say Python has taken over most heavy Perl uses: sysadmin stuff too complicated for shell scripts, programming by non-programmers (scientists, amateurs, some webapps.)

    9. Re: Perls before swine by shaitand · · Score: 1

      Usage is actually growing while Python usage shrinks.

      http://www.tiobe.com/tiobe_index?page=index

      The simple reality is that python doesn't really have much in the way of advantages over Perl. It's true that Perl took a big dip when other languages became trendy and web development moved away but that was actually a boon for Perl developers because the inexperienced children writing unreadable garbage went along with it. Perl has remained the practical champion in it's segment with no real contenders for it's crown.

      The upward trend comes because Perl 5 has continued to evolve, any advantages of these upstart languages quickly get absorbed in a coherent Perl way and execution is faster than ever. Perl is starting to become an option for the web again as well with lightweight and extremely fast stacks that both can handle ridiculous numbers of non-blocking connections and have all the mature time tested goodness of Perl behind them. One example is Mojolicious... if you haven't looked at Perl in a few years you probably will barely recognize the code you are writing as Perl.

    10. Re:Perls before swine by Shortguy881 · · Score: 1

      Isn't that a mod option? Mine shows: "Inadequately Drugged"

      --
      Brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants.
    11. Re: Perls before swine by mr_mischief · · Score: 1

      Perl's market share has dropped. Its usage in raw numbers is actually still rising, but not as quickly as that of some other languages.

  3. Perl's place in the world... by drakaan · · Score: 5, Insightful

    Perl used to be central to so many things (the 'glue' language for the internet), but seems to be slowly falling out of use in deference to javascript, java, python, vbscript/powershell, etc. It's the language I used in my first job as a system administrator (back around the time you gave your first interview), and I loved it.

    With so many years between the announcement of Perl 6 and it's completion, many people moved on to other solutions or technologies. Perl 6 is here now, but why should I use it?

    --
    "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
    1. Re:Perl's place in the world... by jellomizer · · Score: 3, Interesting

      I expect much of that is due to the rise of Cheap and Free quality database systems.

      Back in the 1990's during Perl's hay day. Database systems were really expensive Thousand of dollars for a bad one, Tens of thousands for a decent one and hundreds of thousands for a good one. Then they were mostly required to run on beefy hardware at the time. Filling up Gigs of storage and using hundred of megs of RAM. Using Perl to process your text/data files made it possible to make these data driven sites run well without such overhead.

      Now 20 years later, A low end Computer has the power to run Databases, You can get a really good Database system for under $1k or even Free. Now your data be processed quicker and with more safeguards from data corruption.

      Perl was designed for processing text. It did it well... Today we don't need so much of that.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:Perl's place in the world... by hattable · · Score: 2

      That was a terrible branding problem. People were expecting perl6 to be the next perl. 5 is still a great glue language, but glue is rarely pretty and people have grown to love their 'beautified' code.

      --
      OMG facts!
    3. Re:Perl's place in the world... by shaitand · · Score: 1

      Perl 5 usage still outstrips python and usage hasn't decreased at all for sysadmins. Perl usage has dropped for the internet. What some people don't realize is that Perl 5 has continued to be developed. It it much faster and more feature rich than it was in the past. Perl 6 is a new language altogether.

    4. Re:Perl's place in the world... by drakaan · · Score: 1

      Oh, I realize that Perl 5 is still there, and the nature of the schism between the two versions.

      I'm really looking forward to Larry (hopefully) responding to "why should I use it?".

      --
      "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
    5. Re:Perl's place in the world... by Bob+the+Super+Hamste · · Score: 1

      Perl was designed for processing text.

      This is the key. When ever I have to do text processing, configuration file generation, configuration management type stuff Perl is my go to language as it great for processing text. For me it is just another tool in the box, like C/C++, various other scripting languages, etc. it has its place but unlike so many other people I don't just have a hammer so every problem is a nail.

      --
      Time to offend someone
    6. Re:Perl's place in the world... by Raenex · · Score: 1

      Perl 5 usage still outstrips python and usage hasn't decreased at all for sysadmins.

      Do you have a source for that?

      Perl usage has dropped for the internet.

      Oh, I didn't realize that sysadmins weren't part of the Internet.

      What some people don't realize is that Perl 5 has continued to be developed. It it much faster and more feature rich than it was in the past.

      Too little, too late.

      Perl 6 is a new language altogether.

      It's got one foot in Perl's legacy, and the other in new, incompatible territory. Just who is Perl 6 going to appeal to?

    7. Re:Perl's place in the world... by shaitand · · Score: 1

      "Do you have a source for that?"

      Sure. As you can see usage is actually increasing.

      http://www.tiobe.com/tiobe_index?page=index

      "Oh, I didn't realize that sysadmins weren't part of the Internet."

      Sysadmins actually aren't part of the internet. They are physical humans in the real space not cyberspace. At least for now. The primary internet usage of Perl was coded for CGI. That usage is almost non-existent now. But Perl usage as part of a modern stack is on the rise again even if it is one of the less popular choices it is technically one of the better non-blocking highly parallel solutions able to handle thousands of concurrent connections without breaking a sweat. Actually the concurrent non-blocking thread model that is needed to break 10k connections which is being newly adopted everywhere else was the heart of the now ancient POE system in Perl. There are newer and more shiny solutions like Mojolicious being used these days.

    8. Re:Perl's place in the world... by h4ck7h3p14n37 · · Score: 1

      I do sysadmin work (and dev work); started using Perl back in 1996 for Apache CGI's and any shell scripts that were a pain to write using Bourne shell. Perl was great, it basically glued together all of the various Unix power tools like sed, awk, grep, cut, etc.

      These days I'm still writing Bourne shell scripts for simple tasks, but I've switched to using Python instead of Perl. The code is much easier to read, there are plenty of third-party libraries available, much better OO support, Python language bindings tend to be better supported than Perl, etc. I'm definitely not missing the leaning toothpicks (yes, I know you can use a different character set, but still), and crazy variable names like $$@array_r.

      Pretty much the only thing I prefer Perl for these days is doing pure regexp work. Perl's syntax is just so much better than other languages like C or Python where you have to build an expression, then compile it and finally execute.

    9. Re:Perl's place in the world... by h4ck7h3p14n37 · · Score: 1

      But Perl usage as part of a modern stack is on the rise again even if it is one of the less popular choices it is technically one of the better non-blocking highly parallel solutions able to handle thousands of concurrent connections without breaking a sweat.

      Why the heck would you choose to write highly-concurrent code in Perl instead of using a language, like Erlang, that was designed for it?

    10. Re:Perl's place in the world... by shaitand · · Score: 1

      Because nobody uses Erlang and you'd be writing something that nobody could step in and maintain after you left?

    11. Re:Perl's place in the world... by Raenex · · Score: 1

      Sure. As you can see usage is actually increasing.

      You didn't say usage was increasing. You said: "Perl 5 usage still outstrips python and usage hasn't decreased at all for sysadmins." What your link shows is that Python is ranked 4th and Perl 8th (in that particular list). So you don't have a source and just pulled that statement out of your ass.

      Actually the concurrent non-blocking thread model that is needed to break 10k connections which is being newly adopted everywhere else was the heart of the now ancient POE system in Perl.

      Who cares? Who wants to use Perl to use that model?

    12. Re:Perl's place in the world... by skids · · Score: 1

      Oh, I didn't realize that sysadmins weren't part of the Internet.

      I think GP is talking about highly customized scripts, mostly unpublished, and specific to a particular system or site. You can only discern the prevalence of these uses of a language through the rather imperfect tool of performing surveys -- you can't tell by scraping github or service identifiers.

    13. Re:Perl's place in the world... by bads · · Score: 1

      Because Perl 6 has been designed for highly-concurrent code.

    14. Re:Perl's place in the world... by mr_mischief · · Score: 1

      It's actually not falling out of use. There are more users than ever. There are more programmers overall than ever, though, and its market share has shrunk as more of the new programmers go to other languages than to Perl.

  4. Just one question by Anonymous Coward · · Score: 1

    Why, Larry, why????

    1. Re:Just one question by Anonymous Coward · · Score: 1

      This. Everything that made Perl good when it came out could have been added to an existing language to much better effect. (Indeed, all Perl's selling points are now available in pretty much every programming language, and most languages are better than Perl as languages.) Larry created a language, badly, when all he really needed were some extra library features.

    2. Re:Just one question by invictusvoyd · · Score: 1

      all Perl's selling points are now available in pretty much every programming language,

      There is (was )one of pearls greatest selling points which is still not available in "all" major languages.

      CPAN .. mwhahaha!!

    3. Re:Just one question by Wycliffe · · Score: 1

      all Perl's selling points are now available in pretty much every programming language,

      There is (was )one of pearls greatest selling points which is still not available in "all" major languages.

        CPAN .. mwhahaha!!

      Not only CPAN, but I still find other language's regular expressions severely lacking. Most other languages now have them but they feel like a kludgy tackon and are much more cumbersome and harder to use.

    4. Re:Just one question by hcs_$reboot · · Score: 1

      Come on, Perl was created in 1987 and saved lives of many sysadmins (anything a bit complex with strings manipulation is better done in Perl than in bash..). So, why not?

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:Just one question by CrashNBrn · · Score: 1

      What othe languages? The tools and languages I use have regular expression as a first class citizen, and usually the PERL version of regex. Although I never saw a need for Perl itself for text transformation, as I learned regex first, then other "languages|tools" (like awk, egrep, AHK) with cleaner syntax to use regex with.

    6. Re:Just one question by fahrbot-bot · · Score: 2

      ... all Perl's selling points are now available in pretty much every programming language.

      Ya, but I don't want to have to use every other programming language just to get the functionality of Perl. (see what I did there?)

      More seriously, different tools for different jobs. Yes, many/most/all of Perl's functionality may be available in other languages, but they are often not as easy to use as in Perl or only available on one platform. One of the projects on which I work is cross-platform on Solaris, RHEL and Windows. I use (more than) several languages (scripting and compiled) to get the job done, but my fallback is almost always Perl (sometimes Java) - especially for something that needs to run identically across all our platforms.

      --
      It must have been something you assimilated. . . .
    7. Re:Just one question by h4ck7h3p14n37 · · Score: 1

      I'm guessing OP was referencing regex in C and Python. In those language it typically takes you three steps to apply a regex where in Perl you can do it all in one step.

    8. Re:Just one question by b2gills · · Score: 1

      The problem was that the edges of what was possible to do were starting to show, and some of the design decisions were difficult for new Perl programmers to learn.
      None of that could be changed without major backward compatibility breakage.

      We're talking changes bigger than that of Python 2amp;3.

      The main thing I like about Perl 6 is that it has many features from many languages, but manages to combine them in a way that they all seem like they have always belonged together.
      How many other languages have a class based regular expression system that doesn't seem tacked on?
      I once came across a Python project that attempted to replicate it, but not only was it tacked on, it wasn't even class based as far as I could tell.
      ( there didn't appear to be a way to subclass a grammar, and the tokens/rules didn't appear to be methods )

  5. And there we have it... by Anonymous Coward · · Score: 1

    The comments above prove the internet is pretty much a total failure that is now mostly populated by assholes who think they are glib, but are really completely unfunny low-IQ douche-nozzles."Enjoy."

  6. Why is Perl so awesome? by Anonymous Coward · · Score: 1

    Why is Perl so awesome?

  7. Killer perl6 application by Anonymous Coward · · Score: 1

    What is the killer application for perl6 and why there is none? Historically, that would be scripting of EDA tools for TCL, scripting of web pages for JavaScript, Rails for Ruby, embedded scripting for LUA, Windows UI for VB, scientific computing for MATLAB, and so on. There is nothing for perl6.

  8. How do you perceive English predominance in the IT by Anonymous Coward · · Score: 3, Interesting

    As a linguist, you surely have some thoughts to share on the English language predominance in the IT field (as well as many others). Do you think that it may somewhat shape the way programming languages are designed, as well as IT infrastructures and ultimately our societies, in comparison of what it would be if we would use a no-nation-native language such as Esperanto? By the way, did you know Perligata[1] and Babylscript[2]?

    [1] http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html/
    [2] http://www.babylscript.com/

  9. My question... by PoopMonkey · · Score: 1, Troll

    In regards to the syntax; were you drunk/high, or do you just hate people?

    1. Re:My question... by mr_mischief · · Score: 1

      Learn Bash. Then realize that Perl was based on Bash, Awk, C, sed, and BASIC-Plus with some nods to Icon/SNOBOL.

      Then you'll understand that Bash's punctuation variables are Perl's punctuation variables. The regex syntax is largely borrowed then built upon.

      Basically it's like you're decrying JavaScript or C++ for using curly brackets and semicolons after being built to look familiar to C programmers.

  10. Why has perl6 flopped? by arth1 · · Score: 4, Interesting

    Why has perl6 flopped?
    And "I don't think it has" is not a valid answer.

    1. Re:Why has perl6 flopped? by LordHighExecutioner · · Score: 1

      It is software, so it can only flop. If you want something more consistent, try hardware.

    2. Re:Why has perl6 flopped? by bads · · Score: 1

      Asking a question and specifying the answer isn't of course itself a valid question.

    3. Re:Why has perl6 flopped? by arth1 · · Score: 1

      Asking a question and specifying the answer isn't of course itself a valid question.

      Asking for more than a deflection isn't specifying the answer.

    4. Re:Why has perl6 flopped? by ajs · · Score: 1

      I won't say, "I don't think it has," because it demonstrably has not.

      The language has been released in open beta. It still has many properties that I think chase away those who approach it outside of language research communities. As a Perl 5 nostalgia fix, the learning curve is just too daunting, so as the beta progresses, I expect it to continue to build its own base of enthusiasts, the same way Perl did when it was first released.

      So the language has not "flopped" yet because it hasn't had a chance to succeed yet.

      It took Perl many years to go from a small toy that a trivial number of Usenet enthusiasts had heard of to a standard part of the Unix and Unix-like toolset. I don't think Perl 6 will gain traction any faster, especially given the learning curve. That's not flopping.

      However, it has some substantial advantages over other languages. High on that list is the trivial nature of slinging highly functional grammars as first-class objects. That's something that you just can't do as easily in any other language that I know of. Perl 5 parsers and those of many other high level languages have some pretty severe performance penalties; yacc and its kin aren't dynamic enough; the various parser generators for Java are fast and mostly complete, but really painful to use.

      Basically, you need a language that closely integrates grammars with the language itself in order gain the benefits of Perl 6. Here's and example parser I posted to reddit the other day:

      https://www.reddit.com/r/perl6...

      A few other notable things that I think will draw people in:

      The generalization of operators over iterable sequences and the hyper-operator version of reduction are features that you're going to hear a lot more about, I suspect. Perhaps in Perl 6, perhaps in other languages that adopt these ideas. I'm especially stunned by the utility of hyper-method-invocation (foo>>.method) which dispatches a given method over any iterable sequence of objects (whether they are the same type or not).

      Full macros have not yet landed, not least because we've never had a full understanding of what macros would be. We know that they need to operate on the ASTs that represent code, and all of the self-hosting properties necessary to support that are there, but the exact syntax and semantics that are most Perl-friendly haven't fully gelled, yet. Once they do, I think that every language to have true macros in the past (mostly Lisp variants) has demonstrated the power of this tool.

      A few other languages auto-generate accessors for classes, but I find the way Perl 6 does it to be a substantial improvement on the field, and it really is a joy to use. I think others will feel the same.

      Speaking of objects, role composition will take some time for people to get used to, but as in other languages that have had similar features, I think this will be critical to Perl 6's adoption.

      There are dozens of smaller features that are just quality-of-life benefits ranging from lexical variable/named parameter passing to the way any block can be turned into an anonymous closure and even curried. Some of these will be important to some, but not to others. It will be interesting to see it play out.

    5. Re:Why has perl6 flopped? by ajs · · Score: 1

      Strange, I could have sworn that I replied to this with a very detailed and lengthy response... urg.

      Anyway, upshot is this: Perl 6 hasn't yet had a chance to flop. It was released in beta in December of last year and continues to make steady progress. Users are checking it out slowly, but I don't expect a landslide migration. P6 will have to prove itself as a language.

    6. Re:Why has perl6 flopped? by bads · · Score: 1

      Why should anyone care what you think is a "deflection" or not?

  11. Just one more question... by Anonymous Coward · · Score: 1

    Why did you decide to use prefixes to indicate the type of a variable ($@%)?
    This is by far the most confusing thing about perl to me.
    Other than that I think it's a nice scripting language with a better interface for calling external programs than python for instance.
    Or at least one that's easier to use.

    1. Re:Just one more question... by linuxrocks123 · · Score: 1

      I think the answer to that is inheritance from Bourne Shell.

      --
      vi ~/.emacs # I'm probably going to Hell for this.
    2. Re:Just one more question... by CrashNBrn · · Score: 1

      If variable prefixing variable types with $@% is true, why not an extension to Perl to use readable variable types?

    3. Re:Just one more question... by fahrbot-bot · · Score: 1

      Why did you decide to use prefixes to indicate the type of a variable ($@%)?

      I think the answer to that is inheritance from Bourne Shell.

      Perl pre-dates Bash by a few years, but certainly Sh or Ksh. But, other than pre-declaring variables to be a specific type, using delimiters serves that purpose, serves as syntactic sugar for the interpreter and allows variable name overloading (though I'm not a big fan of this use). Personally, I've *never* had a problem with the variable-type indicators and cannot really imagine how someone would.

      --
      It must have been something you assimilated. . . .
    4. Re:Just one more question... by narcc · · Score: 1

      Why did you decide to use prefixes to indicate the type of a variable ($@%)?

      Isn't it obvious? It was to make the interpreter easier to write!

    5. Re:Just one more question... by tnk1 · · Score: 1

      "sh" IS the Bourne shell. "Bash" is the "Bourne Again Shell", a nicer backwards compatible follow-on to be sure, but not the original. And the Bourne shell does predate perl. Bourne shell is indeed where perl gets much, if not most, of its odd syntax.

      That's why it had high sysadmin adoption. You can pretty much turn a shell script into a perl script with very little work, and then expand from there. All the cryptic syntax is actually very familiar to shell scripters. It's just that your OO language developers are those who were wont to go from languages like C/C++ and Pascal to Java and then further on to all the various follow-ons, and they didn't really hang out much with the shell. You can still see this today when I still have to teach an experienced developer how to run his own application on a Linux box.

    6. Re:Just one more question... by tnk1 · · Score: 1

      Hacks to create non-symbolic types do exist, but honestly, anyone who bothers with perl for long enough just gets used to them.

      And it's not really all that hard. I actually never really understood why people found them to be all that confusing. $ is a scalar, @ is a list or array, and % is an associative array or hash. Yes, they can be used in some odd ways, and that's annoying to learn, but once you figured it out, perl is just fine.

      I mean sure, typing out "Integer myInteger" is nice and all, but perl isn't a strongly typed language, so what would that do other than make me write out a word that doesn't really say more than that dollar sign did. In perl, casting a scalar as an integer can happen, but you can also use that same scalar as a string, so you might as well call it '$'.

      The problem with perl was that you would have a lot of trouble making objects out of perl when OO is/was all the rage. And yeah, some of the built-in variables like your $$ and your $ and all of that required a cheat sheet to know which ones they were, but it really wasn't that bad.

      I do agree that you do need to do a little staring at someone's perl code to figure it out sometimes, but at least it doesn't take as long to read as the verbosity of some languages which use multicharacter words to describe what could be described in one character.

      Although I really have been working to adopt other languages to stay current, the fact is that if I want to do something, I can actually still do it in perl and have to force myself not to, most of the time. Most of that is CPAN remaining really strong and providing interfaces. The language itself is just a language, and I learned it long ago, so as long as people write drivers/interfaces for it, the oddities of perl have long been a non-existent problem for me.

    7. Re:Just one more question... by truckaxle · · Score: 1

      I seriously would like to know why you find this confusing. It is a form of cheap Hungarian Notation or intrinsic documentation. With the cost of one character I know the type of a variable. It is the one thing I find (contrary to the prevailing opinions) that makes Perl very readable.

    8. Re:Just one more question... by fahrbot-bot · · Score: 1

      "sh" IS the Bourne shell. "Bash" is the "Bourne Again Shell"

      Ya, I actually know that. I had just read a post about Bash and mixed it up in my brain with yours - sorry. Either not enough or too much coffee today.

      --
      It must have been something you assimilated. . . .
    9. Re:Just one more question... by CrashNBrn · · Score: 1

      Interesting Thanks.

    10. Re:Just one more question... by mr_mischief · · Score: 1

      This was done up through Perl5 because the sigil is for what you're getting back from the expression rather than how it was originally stored. It's something Perl6 changes -- you access a hash with % or an array with @ even if you're just taking one item from it.

  12. Re:Just one question... by Anonymous Coward · · Score: 1

    I think it probably has the opposite effect unfortunately

  13. Python . . . ? by PolygamousRanchKid+ · · Score: 5, Interesting

    What do you think about Python . . . ?

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    1. Re:Python . . . ? by Big+Hairy+Ian · · Score: 1

      What do you think about Python . . . ?

      We've already got one! now go away or I shall taunt you again!!

      --

      Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

  14. Re:Just one question... by invictusvoyd · · Score: 1

    Can Perl prevent shootings?

    Force the NRA folks to learn it and write an OS in it .

  15. what do you think about the perl guy? by allo · · Score: 5, Interesting

    Perl is proven to be fundamentally broken. Here are two very entertaining videos about how to exploit weird array casting, hashes and so on.
    I really think every perl programmer should have seen it.

    https://media.ccc.de/v/31c3_-_...
    https://media.ccc.de/v/32c3-71...

    What do you say about this criticism and the exploited flaws?

    1. Re:what do you think about the perl guy? by alantus · · Score: 1

      I saw the first video, and I'm sure this Netanel Rubin will be ashamed of his presentation sooner or later due to the childish insolence.

      Perl is not broken, there is code out there with vulnerabilities, it happens in all languages.

    2. Re:what do you think about the perl guy? by allo · · Score: 1

      Let me guess, you're a fan of perl?

      Just listen to the guy. Don't take him too serious, it's a rant and he presents it in a funny way. He has a point, which is proven via a bugzilla hack. But this doesn't really mean "stop using perl". Okay, maybe it does ... ;-)

      And a comment by Larry Wall would be interesting.

    3. Re:what do you think about the perl guy? by allo · · Score: 1

      btw. that he's not a beginner to perl or a real hater is clear, as he has so much experience with the internal fuckups. you don't know this, if you're only tested it and thought too many cryptic characters. He must have been a power user.

    4. Re:what do you think about the perl guy? by hcs_$reboot · · Score: 1

      Hard to understand if you don't speak German!

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:what do you think about the perl guy? by hcs_$reboot · · Score: 1

      In PHP you have more terrible things, the ?: ternary operator associativity for starters, associative arrays, etc... and yet it's one of the most popular languages

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    6. Re:what do you think about the perl guy? by OverlordQ · · Score: 1

      > What do you say about this criticism and the exploited flaws?

      None of those have anything to do with Perl the language.

      --
      Your hair look like poop, Bob! - Wanker.
    7. Re:what do you think about the perl guy? by fahrbot-bot · · Score: 1

      You call those flaws, others may call them features. I didn't watch the videos, but you can do really weird things in other languages, like C and, yes, some are problems, but they can often be useful for legitimate code. Perhaps you just haven't run across coding situations that require this type of language "flexibility".

      --
      It must have been something you assimilated. . . .
    8. Re:what do you think about the perl guy? by tnk1 · · Score: 1

      Which is why perl was not adopted instead of java or C++ for certain tasks.

      I agree that perl5 would make it a pain in the ass to write a fully featured application in, but perl itself does not cause these issues. At worst, it confuses some people into not doing proper validations. Or they're just lazy and didn't do them.

      But considering everything that was written in perl, and everything today written in other languages that seems to be just as vulnerable to various attacks, I don't really see these examples as being more than someone who coded in perl who didn't understand how to write an application securely with it. You get the same thing with just about any language.

    9. Re:what do you think about the perl guy? by Coryoth · · Score: 1

      Well it's a combination of the automatic array flattening, and the fact that perl subroutines take an arbitrary number of arguments and just shift them off the list, allowing you to "overwrite" expected arguments with the flattened list -- ideally you might hope for an error with "too many arguments to function foo". The end result is that as long as you can force things to be arrays (or lists) when people don't necessarily expect that (like, say, the cgi module handling mutiple parameter definitions) you can get up to some serious funny business.

    10. Re:what do you think about the perl guy? by b2gills · · Score: 1

      I saw the first one, it was hilarious how many mistakes he made.
      He thinks that @list is a list, what a newb.
      There was one slide that had like 5 errors on it, if I liked cringe humor I would have been laughing my ass off.

    11. Re:what do you think about the perl guy? by b2gills · · Score: 1

      And yet it had absolutely nothing to do with Perl 6, none of the things he pointed out work that way in the new sister language.

    12. Re:what do you think about the perl guy? by b2gills · · Score: 1

      They aren't bugs in the language they are design decisions made in very early versions of the language, back when it was basically just a combination of sed awk sh and C.
      None of those languages has lists of lists, not like modern languages anyway.
      It wasn't until Perl 5 that arrays of arrays without using symbolic references was possible, and that came out before the first version of Java in 1994 (It had features even back then that Java didn't, like closures and lambdas).
      I find it amazing just how capable it can be and still maintain over 90% compatibility all the way back to Perl 1 from 1987.
      I mean there is probably a bigger difference between Perl 5 of 10 years ago, and that of today, than between Python 2&3, but upgrading Perl isn't that big of a deal.

      As to calling subroutines or methods inside of a key value argument list, I thought everybody knew that you have to either put scalar in front of it, or do something else to make sure it doesn't clobber the rest of your arguments, like put it in an anonymous array ref.

      Also any argument about Perl 5 coming from someone who thinks that @list is a list should be taken with a grain of salt.
      I mean I think that was literally the only time I have ever seen a Perl 5 array named @list. ( other than right here of course )

    13. Re:what do you think about the perl guy? by allo · · Score: 1

      Of course, they fixed it. Should they have left it open?

      > In my opinion, the way the Perl ‘community’, exemplified by people like you
      two ad hominem at once. First "the perl community", as if it were a homogenous mass, then "people like you".

      > It's irritating, but as a Perl hacker with quite some experience I can deal with that.
      I do not doubt this. And i guess you can take the "STOP USING PERL" with a grain of salt.
      But it's like other programming languages, there are some paradigma, which make it hard to make mistakes and others, which make it hard to avoid common pitfalls.

      > people like this
      You're doing it again.

    14. Re:what do you think about the perl guy? by david_thornley · · Score: 1

      Does Perl usage in general have much to do with Perl 6? Perl 5 just kept getting better and better, and I've been away from the community for a while.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  16. Re:How do you perceive English predominance in the by houghi · · Score: 2

    I think there is. At least the influence of language is there. e.g. for many a search down is done with / and a search up with ? and for people who use a qwerty this is pretty obvious, as it is on the same key. The / is at the bottom and the ? is at the top.
    So you have a key that means search and you can go up or down according to what is shown on the key.

    If you work with a different keyboard, this becomes less obvious. on azerty-BE they are not on the same key and both are on the top, so there is no link to know why it is done that way. And understanding is always nice.

    And that was just an example. Using [] means I need to use the right ALT key. Same for tick and back tick. or {}. This is not unpossible, but it is a LOT easier to do on a querty.

    What I imagine has happened is that they start programming a language, look at the keyboard and think "What is the best key to use here?" and then take one that has not yet been used and which one can be accessed easily? On a different keyboard the result would have been different. e.g. a search could have been as they are not only on the same key, but even point to where you are going.

    --
    Don't fight for your country, if your country does not fight for you.
  17. Why perl? by Anonymous Coward · · Score: 2, Interesting

    Why would you encourage someone to learn perl? (Compared to other programming languages, feel free to just give a general "reason" for perl, or an actual comparison).

  18. Re:I want to know by Hognoxious · · Score: 1

    And where can we get some?

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  19. Esteemed Individuals by JohnDeHope3 · · Score: 3

    It seems like a lot of industries have "esteemed individuals" who are given the benefit of the doubt. Priests, rabbis, imams, tenured professors, elite actors and directors, etc. Maybe in technology we have people like Larry Wall, David Heinemeier Hansson, Douglas Crockford, Paul Graham, etc. What are your thoughts on this?

    I like having the feeling of esteem. It warms my heart when I think about what I've learned reading Fred Brooks, Seth Godin, Donald Knuth, etc. I hold you all in revence. I don't think this is such a bad thing. Would I blindly follow whatever any you say? No, of course not. But wisdom is wisdom, and experience is experience, and those of you who have it, and have had it, and have written to me about it, are very much appreciated and held in high esteem. I think this is all very good and healthy and perfetly natural. Thank you!

  20. Who's using Perl? by quentindemetz · · Score: 3, Interesting

    Which large companies are still using Perl in production? I can name Booking.com, but do you know any others?

    1. Re:Who's using Perl? by shaitand · · Score: 1

      Every large company that still uses *nix in production which is most of them.

    2. Re:Who's using Perl? by bheerssen · · Score: 1

      CPanel uses perl in its flagship product. Maybe it's not a huge company (and it's not) but it does supply software to a lot of web hosting companies.

      --
      (Score: -1, Stupid)
    3. Re:Who's using Perl? by destinyland · · Score: 1

      DuckDuckGo, Ticketmaster, Priceline, Craigslist, IMDB, LiveJournal and......Slashdot.

      https://en.wikipedia.org/wiki/...

  21. I'll show some respect by raymorris · · Score: 1

    I'll have enough respect to ask my question in Larry's native language: /\/\/%Â*&(.{5,93}[0-F])$/

    Actually I love Perl. I can program in any of several languages and Perl is my all-around favorite. I just can't think of a question because if I had a question for Larry, I would have asked it by now.

  22. Help me promote Perl 6 by Anonymous Coward · · Score: 5, Interesting

    I'm a big fan of Perl and still use it when I can for various personal projects and have been known to introduce it in official work-related tasks (where engineers were using batch files or shell scripts, etc.). I love Perl's terseness and flexibility. I learned regex from Perl in my first development job and it has stuck with me through a dozen different languages.

    However, as many others have mentioned, it is falling out of favor, and in fact there are very few development shops that even have a need or desire for it. I've looked for Perl jobs and they rarely come up. It seems that most back-ends are now being written in any number of next-gen scripting languages like Python, JavaScript (NodeJS), and Swift. I don't see the advantages of these, but it's often hard to explain to colleagues, CTOs, managers, etc. the value of Perl over the newest trends. And Perl "6" is meaningless because to everyone else it's still Perl. Why should we choose Perl 6 over the new establishment?

    1. Re:Help me promote Perl 6 by fahrbot-bot · · Score: 2

      I've looked for Perl jobs and they rarely come up.

      Most often, you don't get a job to use Perl, you use Perl to get your job done.

      I've been continuously employed since 1987, at a small private software development company, the NASA Langley Research Center, The New York Times and currently a (very) large defense contractor, as a Software Engineer and Systems Administrator (on everything from PCs to a Cray 2) and have used and still use Perl every day for production work.

      --
      It must have been something you assimilated. . . .
    2. Re:Help me promote Perl 6 by tnk1 · · Score: 1

      This is true. I've been employed for close to twenty years now, and only a few times has perl been in the job description.

      And I have used it at every job I have worked at since 1997. Not because I was required to know it, but because I had something that needed to get done, and that did the job. And still does do the job.

      In fact, you're only reason to not walk into a job with up to date perl knowledge and use it at least every so often is if you get employed by a brogramming shop where they sneer at you for not knowing the favor of the month language. And they then fail about six months later after they burned through the financing by trying to "improve coding practices" instead of actually producing anything.

    3. Re:Help me promote Perl 6 by mr_mischief · · Score: 1
  23. What's your computer set-up look like? by LichtSpektren · · Score: 4, Interesting

    Can you give us a glimpse into what your main work computer looks like? What's the hardware and OS, your preferred editor and browser, and any crucial software you want to give a shout-out to?

  24. Perl in the embedded world by mykepredko · · Score: 1

    HI Larry

    What has been done to port Perl to very small devices as a tool to create test applications? I'm doing some control work right now and testing/characterizing devices and peripherals with the results generating a set of csv data on the console that is copy and pasted into Excel.

    I am really asking about small 32bit devices (with floating point units) - Cortex M4 specifically. I don't think a port could be created for an 8bit processor like the AVR.

    Thanx!

    1. Re:Perl in the embedded world by mykepredko · · Score: 1

      Yes it does.

      Thank you

  25. Perl and PHP by hcs_$reboot · · Score: 2

    PHP got a lot of inspiration from Perl, while missing key concepts (you know this one). However, thanks to web development PHP is currently one of the most popular languages.
    What is your honest opinion about PHP? Are there things in PHP, missing in Perl, you regret not having thought about?
    Reversely, which Perl features PHP should have taken?

    $_

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  26. Re:Perl and Social Justice. by mwvdlee · · Score: 1

    From the front page of Perl 6's site perl6.org:

    The only requirement is that you know how to be nice to all kinds of people.

    Isn't hat social justic enough for you? Linus may get flak for his "social" interactions, but it gets the point across and the job done.
    I'd much rather have a correct dickhead over an incorrect nice guy when it comes to doing things that people need to be able to depend on.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  27. Re:I want to know by quenda · · Score: 2

    What kinda drugs did he take to create that crap?

    I believe Larry indulges heavily in the opium of the masses.

  28. Project governance by njahnke · · Score: 1

    Do you know of any project governance models that are 'known good' other than BDFL? It seems to me like 'caring' is the key to project success - and the BDFL him/herself, presumably, cares a great deal and inspires others to care a great deal. I've always wondered whether this known good level of success could be achieved with some modicum of democracy or in a project that is part of a larger project (and the project manager is appointed from above rather than self-selected). I've heard some good things about Apple's DRI or directly responsible individual, but it doesn't seem like other groups have had as much success implementing it, which makes me wonder about the method. By the way, thank you for all your work on Perl - it has brought me great fortune.

  29. Re:Perl and Social Justice. by 110010001000 · · Score: 2

    That isn't enough. It says "all kinds of people". What about individuals who identify as non-people (like furries)? Report to the nearest SJW reeducation camp!

  30. Re:Perl and Social Justice. by CaptnCrud · · Score: 1

    You can do things right without being a douche nuckle, to me there is no excuse for either.

  31. Achieving Escape Velocity From Perl5's Gravity by Baldrson · · Score: 2

    Perl6 seems to offer a lot in the base language, obviating many CPAN modules, but the network-effect of CPAN modules creates a gravitational field which, in combination with the differences in the base language, makes reaching escape velocity to Perl6 challenging.

    What is the strategy for achieving escape velocity from Perl5's orbit to Perl6's?

  32. LAnguage by c0d3r · · Score: 1

    Do you think there is a language more powerful than perl?

  33. How can Perl6 become more attractive? by bauerbob · · Score: 1

    With so many years in development, especially the language specification, it seems like Perl6 must have the most sophisticated design of all programming languages. Unfortunately it has no killer application (yet), and Perl6 code doesn't look as beautiful as Ruby code. What is being done to make Perl6 more attractive?

  34. Double Question by shaitand · · Score: 4, Interesting

    1. According to most metrics Perl 5 usage hasn't decreased but there is a perception problem indicating it has. Perl usage outstrips python by a lot but many think the opposite is true. Why do you think this perception exists? Is it related to calling the new language Perl 6 giving people the false impression that Perl 5 hasn't progressed as dramatically as it has in the past few years?

    2. As a Perl 5 programmer, why should I care about Perl 6? Perl is most used by sysadmins and Perl 5 of some sort can be found on all major *nix distributions out of the box. Without this support Perl 6 might as well not even exist for this group who already have to code for Perl versions a decade out of date in many cases. How, if at all, do you see Perl 6 resolving this problem or do you see Perl 6 hitting a different base altogether?

  35. Intellectual Property by ytene · · Score: 1

    As the recently re-trial of the case brought by Oracle against Google (over use of JAVA structures in Android) shows, intellectual property is and will remain hot property. One of the interesting things about intellectual property and languages, however, is how much of the syntax of supposedly different languages is remarkably similar (with a lot of inheritance from C).

    May I ask for your views with respect to firstly protecting the intellectual property that you have invested in Perl as a language, but then perhaps also the wider challenge of IP with respect to programming languages and actual software packages?

    [ Profound apologies to the moderators if that is two questions; I think they are too tightly linked to separate out ]...

  36. How can we get PERL into the browser? by Proudrooster · · Score: 1

    Larry, PERL is a great language, the swiss-army chain saw.

    My question is, how can we strategically pull the PERL language into the browser? Javascript and PHP are getting all the browser action. We know that Embperl and Mod_perl exist for server side scripting, but how can we can PERL into the browser? Do you have friends at Google/Apple/Firefox?

  37. How to think in Perl 6 by mattr · · Score: 3, Interesting

    I'd like to express my deep, unending thanks for building something that is really wonderful, Perl, and a wonderful community. I made a living with Perl, the first postmodern language of which I am aware, and derived a lot of enjoyment from TMTOWTDI, and contributed back to the community on Perl Monks at the time. It was a lot of fun to meet some of the famous, talented Perl visionaries then. I enjoy thinking in Perl and it has made me stronger.

    I'd like to get into Perl 6 which having stolen all the cool stuff from the other languages appears likely to be the most advanced and artistic of all them. At the very least I look forward to being able one day to think in Perl 6.

    Can you provide some examples to /. readers about why you like Perl 6, and what dimensions of awesomeness are waiting beyond Python and Javascript? I think you would be a good person to rouse a wakeup call.

    That, and if you have a moment, how about a good reason or three (efficiency? creativity? extensibility? ability to suggest further growth? having lots of PhDs?) why Google should promote Perl 6 in-house and support the growth of the Perl 6 language and implementations. Perhaps sponsor completion of the Perl 6 kernel for Jupyter project? How about sponsor some people to document and make accessible free books? What are some Perl 6 initiatives that could use some eyes if not $$?

  38. Flying Cars by WorBlux · · Score: 1

    Given that every other famous Larry in tech seems to be starting their own secret flying car factory, when are you going to start yours?

  39. Re:Perl and Social Justice. by Anonymous Coward · · Score: 2, Funny

    Please do not use the "f"-word. It is inappropriate. The correct term is "otherkin".

    I know this because I use Rust and as a Rust user it's important to use non-offensive terms at all times, in all cases, without exception. I do not want to get on the wrong side of the all-powerful Rust Moderation Team.

  40. Re:How do you perceive English predominance in the by Hognoxious · · Score: 1

    What I imagine has happened is that they start programming a language, look at the keyboard and think "What is the best key to use here?" and then take one that has not yet been used and which one can be accessed easily?

    I can't imagine why they'd do anything else.

    Would you choose, for your most common punctuation, something that you have to take your shoes off to type?

    I'll tell you what, editing html/xml is a bastard on AZERTY, with the > < on the same key.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  41. How did you make perl so reliable? by silvergeek · · Score: 1

    I'm "retired" now, but I used perl for many years to implement projects, some of which were complex. It never ceased to amaze me how bug-free perl was (compared to VB, for sure!) in spite of its complexity and power. How did you do it?

  42. question by Anonymous Coward · · Score: 1

    $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
    $m=(11,10,116,100,11,122,20,100)[$_/16%8])$t^=(72,@z=(64,72,$a^=12*($_%16
    -2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
    =5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
    d=unxV,xb25,$_;$e=256|(ord$b[4])>8^($f=$t&($d>>12^$d>>4^
    $d^$d/8))>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval

    ?

  43. Parrot VM by Anonymous Coward · · Score: 1

    I was excited by the Parrot VM which was going to be the back-end for Perl 6 since it allowed many languages other than Perl to be compiled into Parrot bytecode and thus was slated to provide an unprecedented form of interoperability between languages.

    Considering that this planet is now adopting WebAssembly as the new universal bytecode for all languages to compile into for running in the portable operating systems that earthlings call "browsers", what is your stance on compilation to a multi-purpose bytecode? Specifically, is it a good or bad thing that Parrot and Perl6 parted ways?

    1. Re:Parrot VM by b2gills · · Score: 1

      Rakudo and Parrot started to go in different directions well before they officially parted ways.

      Perl 6 wouldn't be where it is today without Parrot, it also wouldn't be here if Rakudo still supported it.

    2. Re:Parrot VM by mr_mischief · · Score: 1

      Rakudo can output JavaScript source as one of its backends. Getting that to do WebAssembly isn't an unreasonable idea. It also supports the JVM and MoarVM (its primary target).

  44. Re:Perl and Social Justice. by CaptnCrud · · Score: 1

    silent k's are over rated.

  45. LISA '96, Chicago by Nethead · · Score: 1

    Been there, done that, got the t-shirt. Larry, Tom and Randal signed it.

    There was ice cream too.

    --
    -- I have a private email server in my basement.
  46. If you got a 'Do Over' for Perl6.. by jjn1056 · · Score: 1

    Hi Larry,

    I'm a profession Perl5 programmer who is very worried about the future of my language. I remember when you kicked off Perl6 in the very late 1990s the talk was that it would replace Perl5. Clearly that never happened. If you could redo the project what might you do differently?

    --
    Peace, or Not?
  47. Rational behind the major syntax changes in 6? by colin_faber · · Score: 3, Interesting

    Hi Larry, As a long time perl hacker, and contributor of various modules to CPAN I'm wondering what the rational was behind the major syntax changes in perl 6? I've read various items trying to explain it, but none so far have done a very good job. Admittedly I haven't fully grasp perl 6 yet (mostly because it involves learning a new language I thought I knew well).

  48. Patch and git by waveclaw · · Score: 2

    What are your views on version control systems like git and modern development practices around them?

    Early F/OSS development practices started with tarballs and patches, moved to packages and VCSes then to (a)social coding with DVCS like Mercurial or git. You've been there for most if not all of that.

    git can be described as a distributed content management system for patches. Linux Torvals' git --am workflow can be likened to playing chess via email but with kernel development the end game and patches as moves.

    And thank you for patch, by the way. The diff command outputs the difference between two files. You wrote the patch command to take diff output and turn one file into another, including the ability to even go backwards and undo that change later. As someone who's had to package software for a Linux distribution this is critically important tool. Patch lets me preserve the original author's work. But patch (and quilt) lets me still apply needed changes and store those changes in obvious discrete packets of standard format that are diff files.

    --

    "You cannot have a General Will unless you have shared experiences. You cannot be fair to people you don't know."
  49. Re: Perl and Social Justice. by Anonymous Coward · · Score: 1

    And you don't have enough sense of humor. Anal Annie over here.

  50. Why isn't PERL more windows freindly by goombah99 · · Score: 1

    My pet theory of why Perl has lost favor to Python is that it's really a unix language. You can run it on a windows box but only with a lot of effort to install and to maintain it. It seems to me that Perl could be more successful if one could get it adopted intrinsically into the Windows environment. A common, mistaken, lament about perl is all the sigils that make it look like swearing. But those actually add meaning (I can tell what's an array, a reference, a glob, or a scalar) and they are familiar to bash users. But one can see how windows users aren't steeped in this so perl gets a bad rap. If Microsoft were to distribute an app that ran a perl shell with all the first class privileges their own shells have Perl would be widely adopted as a superior do-it-all administration language.

    Thoughts?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Why isn't PERL more windows freindly by goombah99 · · Score: 1

      The thing is if it's not a first class entity then you can't really base anything durable on it. If *nix updates you know for sure that bash and perl are going to work. But if windows updates or the straberry maitainers slack off then your whole code base could be munched if you invested in perl and things break it. Similarly having a dozen different ways to install perl will lead to divergences. Thus it needs a reference installation platform that can't ever fail.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    2. Re: Why isn't PERL more windows freindly by goombah99 · · Score: 1

      Perl has quite a large back catalog too. And it offers cross system compatibility unlike .net.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    3. Re:Why isn't PERL more windows freindly by Magius_AR · · Score: 1

      My pet theory of why Perl has lost favor to Python is that it's really a unix language. You can run it on a windows box but only with a lot of effort to install and to maintain it.

      That hasn't been true since the advent of Strawberry Perl.

    4. Re:Why isn't PERL more windows freindly by david_thornley · · Score: 1

      I'd think those reasons would apply equally well to Python, or, for that matter, anything that isn't PowerShell.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  51. In what scenario is Perl 6 most ideal? by orlanz · · Score: 1

    Use the best tool for the job they say. There are many areas that Perl excels at. But in your personal opinion, what kinds of scenarios, situations, tasks, and jobs are most ideal for Perl? What is it the best tool for?

  52. Language Design by columbus · · Score: 1

    Hi Larry

    Thank you for your contributions to the field of Computer Science.

    My question is: in your opinion, what are the most important things to consider when designing a new computer language?

    --
    friends don't let friends teleport drunk
  53. Why is Perl missing from coursera... by Vijayvithal · · Score: 1

    I can find dozens of courses on Coursera where Ruby/Python/Javascript are used as the programming language for courses related to Data Science, Machine learning, web development or just basic programming. But not a single course based on either Perl5 or Perl6 is available on the various MOOC sites. Do you see any potential for Perl5/6 to be the language of choice for teaching any technical concept? Any examples where Perl is breaking new ground?

  54. Parallel Computing by coldr3ality · · Score: 1

    Does the Perl 6 development team rather fancy the idea of fully equipping the language for cutting-edge, massively-parallel environments, as in neural networks?

  55. email exchanges by jjlilj · · Score: 1

    Whenever comparing geek-cred, I mention that I've received personal email responses from Larry Wall and Guido Von Rossum.

    What's the most famous person/people you've exchanged email with? Steve, Bill, Linus, Bjarne?

    P.S. I use Perl every day at work. Thank you.

  56. conditional modifiers by jabberw0k · · Score: 1

    ...come from Digital's BASIC-PLUS that ran under RSTS/E on a PDP-11, a setup that Larry mentions in the appendix of the Camel book (I was blessed (cursed?) to use BASIC-PLUS-2 in my high school job).

  57. Re:Perl and Social Justice. by skids · · Score: 1

    I lurk the IRC channel. There were some motions to start working on this. They got as far as a gist which seems to have now disappeared. As a "troll hugging" culture that aims to actually teach people with less social graces to grow up a bit, Perl 6 has to write its own that is more likely to doll out lots of wrist-slaps at first rather than shooting first and wondering why everyone left the community later.

  58. Thanks by billmarrs · · Score: 1

    Hi Larry. I just wanted to say thank you. I love Perl. I've used it for decades. It's still my first choice. My websites still happily use it. This language you created has had a major positive impact on my life.

  59. Reluctant to use Perl 6 by ReadParse · · Score: 1

    This year I celebrate 20 years as a Perl guy. I have used it continuously, regardless of the languages used predominantly, and it has made me seem to be able to do the impossible, or at least the highly improbable. Thank you, Larry, for sharing Perl.

    I don't pretend that Perl is necessarily able to to most things any better than other modern interpreted languages (autovivification notwithstanding), but I come back to it again and again -- partially for the same reasons that I usually start speaking in English. It is my first language, and my most fluent.

    Perl 5 has been meeting my needs for literally my entire career. There's probably something in Perl 6 that I might find useful, but I have found that I have about as much desire to break open Perl 6 as any other new language that I have not yet looked at.

    It would help my guilty conscience to receive your absolution. Or am I being unreasonable in my continued, pragmatic use of Perl 5 and it's amazing library of modules, both old and new?

    Peace be upon you.

  60. The future of performance by John+Da'+Baddest · · Score: 1

    Do you see a way forward to a "high performance" Perl for a niche of use-cases in which fast response times (low latency) is major consideration? This isn't meant to trigger a "fast enough" flame war, but rather, to gain insight and make comparisons with perceived competitors such as Cython, Rpython, and Pypy.

    1. Re:The future of performance by mr_mischief · · Score: 1

      Take a look at rperl and cperl.

  61. has Perl 6 flopped? by b2gills · · Score: 1

    How could it have flopped in just 6 months? Especially as I regularly see new people on irc.freenode.net#perl6. (we also had to split up the channel because it was getting difficult to discuss the actual implementation because of all the activity)

    I will grant you that the Perl 6 project is a lot older than that. I'm actually glad it wasn't a rush job, just image how bad of a language it would have been as a result <cough>php</cough>.

    You're probably one of those people who are deluded into thinking that Perl25 is on its deathbed. In fact there has been more activity on the Perl5 core in the past 5 years than there was on the previous 10 years. ( Actually a similar thing could be said about Perl6 as well )

    1. Re:has Perl 6 flopped? by arth1 · · Score: 1

      You're probably one of those people who are deluded into thinking that Perl25 is on its deathbed.

      You're probably an IFTJ, ascribing people views they haven't conveyed and that has no basis in reality.

      I assume you mean perl5? No, it's obviously not on its death bed.
      Or did you mean perl 5.25, and that it might not be released? I am sure it will, and I'm also sure that people won't jump to get it, because since the early versions of perl5, there has been lots of new stuff, but not much at all that is a must-have for other than perl developers.

      And where perl has its strength, and it does, is as a language for sysadmins and others who need more power than is easily obtained with sh, and which doesn't require a full development effort.

      Many contributing Perl developers have, unfortunately, lost touch with the perl userbase, and been striving to forget the p in perl.
      As long as it's practical, it's going to be used. If it requires jumping through hoops, it won't, even if it provides new functionality.
      Look at the perl out there in the field, and you'll find that almost all of it is relatively simple stuff. Many (I'd say most!) users don't even use OO except by accident, and in some cases deliberately avoiding it. And modules where the api or requirements have changed are being avoided like the plague - even when significantly improved. They break existing scripts, and prevent backwards compatibility. If a module suddenly requires perl 5.18+, the solution in the field is not to upgrade to perl 5.18, but to ditch the module.

      The perl core is what's important. Including backwards and cross-system compatibility.
      Adding functionality is fine. No one complains about that. But breaking existing stuff to do so is not. And neither is expecting users to do perl a certain way (which goes against all that perl stands for), or always be at the latest version.

      perl5 is very much alive. Mostly thanks to all the users; those who don't post on the dev forums, and don't hang out on perlmonks to gank n00bs. People who welcome bug fixes, new optional modules and more and better example based documentation.
      That's the real drivers for perl 5.25, no matter what the core team might think.

  62. New language for mobile devices by worldtech-a3x · · Score: 1

    Can you create a new language for easy programming on mobile devices?

    It would have to be concise, because typing is hard on touch screens. In that sense it would be similar to Perl.

    Thanks for inventing Perl!

  63. Re:Perl 6 for Perl 5 developers by b2gills · · Score: 1

    I wouldn't make any major applications in it just yet, but there are people who have said that they have used it in production in smaller roles.
    Really it is a fairly big departure from pretty much all other languages including Perl 5, so I would recommend just tinkering with it for a while.
    There is an Inline::Perl5 for Perl 6 and an Inline::Perl6 for Perl 5, so you could write small tools in Perl 6 that integrate with your existing Perl 5 codebase.

  64. Re:Moose and Perl5 by b2gills · · Score: 1

    There is a project similar to Moose that has been worked on that is planned to go into Perl 5.

    Also Larry hasn't been active with Perl 5 for 15 years, so not actually a good question for him

  65. Re:I want to know by david_thornley · · Score: 1

    Have you considered the frightening possibility that Wall designed Perl without the use of recreational pharmaceuticals?

    --
    "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  66. Changing sigils by david_thornley · · Score: 1

    If I have a hash %foo, then a use would be $foo{bar}. Given an array @foo, a use would be $foo[bar]. Not only does the change from % or @ to $ throw me a bit sometimes, the visual difference between those two different things is braces vs. brackets, and as my eyes age that's not really enough.

    Could you tell me about the design of sigils, and why they were done the way they are?

    --
    "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  67. Re:Can Perl 6 modules alter the type system? by david_thornley · · Score: 1

    When did Li write that? In C++, complex types are in the standard library, not built into the language itself. Boost provides more C++ mathematical types.

    --
    "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  68. Re:What do you think about JIT and Perl? by mr_mischief · · Score: 1

    You may want to check out cperl or rperl. There's also a lot of work going on for performance with Perl6 and in some simple programs it's already faster than Perl5.