Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Perl

23 Years of Culture Hacking With Perl 99

Modern Perl writes "Larry Wall, the creator of Perl, reflects on Perl's history of hacking its culture, from subverting the reductionist culture of Unix to reinventing the ideas of programming language and culture in Perl 6 and the verbal aikido used to encourage honest detractors to become valuable contributors. Perl turned 23 years old last week, and Perl 6 is available."
This discussion has been archived. No new comments can be posted.

23 Years of Culture Hacking With Perl

Comments Filter:
  • The only requirement is that you know how to be nice to all kinds of people (and butterflies)

    Reading the Perl 6 page - either they are REAL programmers, or they use emacs.

    • by FooAtWFU ( 699187 ) on Friday December 24, 2010 @05:01PM (#34661920) Homepage
      Also, I was strongly under the impression that Rakudo was still more of a 'useful, usable, "early adopter" distribution of Perl 6' than a mature, production-ready system.

      Mind you, I'd be thrilled to see some nice new stuff in the Perl space. But I work on a software appliance and some of the customers pay tens of thousands of dollars (or more) for it and they do expect a modicum of reliability....

      • Re:Perl6 (Score:5, Interesting)

        by Short Circuit ( 52384 ) <mikemol@gmail.com> on Friday December 24, 2010 @05:30PM (#34662088) Homepage Journal

        I've been playing around with Perl 6 a little this week. Rakudo works well enough that I'll be using Perl 6 where I've previously been using Perl. I find it useful to follow the Perl 6 Planet, as it has a bunch of Perl 6 developers' perspectives and musings as they use the langauge. (For example, one guy wrote his blogging engine in Perl 6, and commented on speed differences between a couple Perl 6 implementations.)

        I'm also helped that Larry Wall has been doing active code review of the Perl 6 code [rosettacode.org] over on Rosetta Code, a site I run; it's nice to have an active source of idiomatic code for understanding the language.

      • Well i think you are absolutely right. But my friend be calm down. Don't take it much serious. Be coooolllll.
  • by FooAtWFU ( 699187 ) on Friday December 24, 2010 @04:54PM (#34661882) Homepage
    Yeah, now try hiring for a good OO software engineer to write Perl. The applicant pool isn't spectacularly broad. Not too surprising, I suppose, since most of the positions out there featuring Perl are either QA automation or something titled "Build Engineer". Ruby has all the mindshare these days.

    (Hiring ~4 OO software engineers to do Perl. [newtonsoftware.com] Forgive the inane outsourced hiring-management site. Merry Christmas.)

    • by Anonymous Coward

      Why bother limiting it by language?

      We're a perl shop, and don't really require any applicants to know Perl to come in through the door. Bonus points for knowing functional languages, SmallTalk, Scala, whatever.

      There is ramp-up for people to pick up Perl, but if they're good developers it's a pretty negligible period of time. It takes a lot longer to get people to understand the ideas of functional programming they can incorporate in that makes the code significantly easier to use, write and test.

      • Oh, believe you me, we're not trying to "limit it by language" at all. The challenge is figuring out how to get those good developers (who I imagine are generally thinking "I suppose I'll look for a position at a cool, hip Web 2.0 startup using Ruby on Rails, it's a decent language") and hold their attention for long enough to pitch the position. After that, it's easy enough; there's just a dearth of interest. Hiring good people is certainly possible, but it goes really slowly, even when you have a decent r
        • by FooAtWFU ( 699187 ) on Friday December 24, 2010 @05:48PM (#34662178) Homepage
          I should clarify, actually. We (the dev team) are not trying to limit it by language. Our in-house recruiter, however.... well, he's got different ideas about what we're looking for than we do, and let's just say I've heard rumblings from the head of Engineering which don't bode well for his future. Not that I can take any credit; I'm just now taking over hiring for my department; the battle to make our job posting look half-decent for this round of hiring begins when I get back from Christmas vacation. In the meantime, I'm asking around for tips [stackexchange.com].
          • by bzipitidoo ( 647217 ) <bzipitidoo@yahoo.com> on Friday December 24, 2010 @09:11PM (#34663176) Journal

            Don't be too hard on the recruiter. All his training puts the highest priorities on "skills", and very specific experiences. He wouldn't know a great coder from a good liar who feels that spreadsheet macros are his limit. A person like that shouldn't have been given the job of screening applicants. It's not his fault, it's the fault of management for delegating this crucial function to someone who lacks the background to judge the technical merits of applicants. What tools he has left for making judgments are weak, but it's all he has, so he uses them.

            And it's all our faults for focusing far too much on specific languages. We all know that anyone who is good at several programming languages is not going to have a problem picking up a new one. Even programming paradigms are not the big deal they make them out to be. OOP and Functional Programming are not that profound or mysterious. Lot of what is being called functional programming is actually modular programming. But you can't tell any of that to the interviewers. Have to tailor your resume and give yourself a crash course on whatever it is they say they want so you can answer the trivia questions they're using to screen people. I use Perl, but I sure don't have something like all the operators memorized. That's what a reference manual is for, and I have found the Camel book an excellent one.

            It never ceases to amaze me that so many companies treat the search for talent as little more than a rigged lottery. Head hunting agencies are even worse. They come up with the craziest, completely subjective, off-the-wall reasons for rejecting people, and then complain that they can't find talent. "Learning on the job" is so pre 1980. "Hit the ground running" or "don't let the door hit your ass on the way out" is the way things have been for a long time now. And they don't want competence alone. Many also seek signs that their choice won't leave, and can be pressured to work harder, maybe has something in the closet that shows he understands the "realities" of doing business and so will not make any trouble for management, by, say, doing any whistleblowing. They want a contradiction-- competence at the job, and incompetence at personal finances so that the employee cannot leave without losing everything. Makes the employee more "reliable".

            Cue the job postings for 5 years of experience in Perl 6.

            • This problem has been around forever. Management thinks that "managing human resources" is a special and oh-so-useful skill-set—only HR knows how to hire the right people. This results in a situation where both the candidates and the techies who are actually going to be working with the new hire have to circumvent HR. Think of it as an intelligence test. It's usually not much of a challenge.
              • Yeah, I think in hiring that HR need to be focussing on where their skills lie, i.e. not trying ascertain useful technical skills when they lack a sufficient background to do so. I remember my first tech job interview. The HR guy in that case doubted I had the skills to go in to an entry level tech support job, despite my having a a CS degree behind me and a decent background in Unix-likes and Windows systems. Oddly enough after doing tier one for a while I moved on to server, hardware and pro video support

            • totally agree, spotted a '5 years experience in vs2008' last year
    • by chromatic ( 9471 )

      Have you considered hiring good developers and then teaching them OO Perl? If your workplace uses Moose [cpan.org], for example, writing good OO Perl 5 is surprisingly easy and effective.

      • This is a quote from the Moose page to which you linked: "The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent and less tedious. With Moose you can to think more about what you want to do and less about the mechanics of OOP."

        The implication is that, without Moose, Perl 5 is difficult, inconsistent, and tedious.

        Is this mistake, "... you can to think more...", indicative of the quality control for Moose?
        • by chromatic ( 9471 )

          The implication is that, without Moose, Perl 5 is difficult, inconsistent, and tedious.

          That inference may go too far. Perl 5's default OO is flexible and powerful, but it goes too far in allowing flexibility and it doesn't promote an obvious best way for most projects. As with any abstraction which offers and takes advantage of defaults, Moose reduces complexity and makes it easier to write consistent and concise code.

          ... the quality control for Moose?

          I'm certain many CPAN contributors will welcome an

        • by Alastair ( 3224 )

          A little unfair.

          Without using a framework like Moose (or Mouse even), Perl OO is less consistent (TMTOWTDI) and a bit harder. Moose automates and simplifies things like class accessors etc. so one could say Perl OO is also (potentially) more tedious without it.

          • by Pe_Ell ( 855470 )
            It also seems to make people load frameworks rather than learn the language. I've fixed a few libraries I found that were using Moose by removing the framework and replacing it with 30 lines of OO code. They loaded another 35 files just to avoid a couple ISA statements and do some input validation. If people bothered to learn the language they could make their code even faster and cleaner. This problem is even worse in PHP. And java seems to require every project to write their own. :/
    • My recent experience is that discussions of Perl quickly turn to discussions of Python, after people make statements like, "If it weren't for CPAN, Perl would be dead."

      "There's more than one way to do it." [wikipedia.org] translates to, quoting from Wikipedia, "This makes it easy to write extremely messy programs..."
      • by Junta ( 36770 ) on Friday December 24, 2010 @05:50PM (#34662184)

        My experience has been largely:
        -if working on existing progress, continue in language it is already in
        -if working on new project, what's the language most comfortable for the most developers available

        Frequently, the answer continues to be perl, sometimes python, sometimes ruby. Usually, I can't be bothered to care. If it comes down to my call, currently I prefer:
        -If planning to use across many OS updates, perl5. Nice and stagnant, not screwing around with how it does things, perl6 threatens this.
        -If not expecting a lot of churn on the runtime but active development across random developers coming and going as available, python as it forces readability.
        -If expected to work in a barebones as possible generic windows, vbscript, but please no.
        -If wanting to work with as few prereqs as possible on Windows server 2008r2/7, then powershell.
        -Have gone along with ruby, but have not personally found the magic situation I personally prefer it for above all other possibilities.

        • I think Ruby beats Python in features only in rare cornercases, which aren't that hard to do Python either. When you already know Python there's not much motivation to learn Ruby. They're too similar.

        • by chengiz ( 998879 )

          This is my experience as well. However, in my case the definition of project is a bit loose:
          - Someone wrote a script in perl and left the company.
          - Someone else needs to make Improvements to this code but they dont know perl. Even though the original code is written in as clear and readable perl as possible, they automatically think perl is hard. This is in fact company policy now. They write a python script and make a system call to it from the perl code. Soon there are two, three... seven python calls in

      • by grcumb ( 781340 ) on Friday December 24, 2010 @07:01PM (#34662510) Homepage Journal

        My recent experience is that discussions of Perl quickly turn to discussions of Python, after people make statements like, "If it weren't for CPAN, Perl would be dead."

        That's not too far from the truth, if you understand that statement to be analogous to "If it weren't for the US dollar, the American economy would be dead." It may only be one thing, but it's a pretty big thing.

        "There's more than one way to do it." [wikipedia.org] translates to, quoting from Wikipedia, "This makes it easy to write extremely messy programs..."

        No grasshopper, you fundamentally misunderstand the implications of that statement. Show me a problem in which there isn't more than one way to do it, and I'll show you a problem you haven't grokked properly yet. Perl is a language without ideology. If programming languages were religions, perl would be closer to atheism (sorry Larry) than to anything else. Yes, it sometimes does cast people adrift because they're forced to accept that there is no final arbiter, that sometimes choices do come down to indulging one's biases. The difference here is that we recognise that, and that you have no one to blame for the biases except yourself.

        For a good programmer, this is one of the paths to enlightenment.

        To abuse the ideology metaphor a little further, perl is democratic (and borderline anarchic) because it does not criminalise stupidity. Likewise, it doesn't always protect you from yourself. If you really want to do things a certain way, the language probably won't stop you, and might even help you.

        And if you still don't get the freedom that perl provides, feel free to vacate the green space in front of my domicile. I'm not going to force you off, but I might laugh at you if you stay.

      • You could say that about any language. Seriously, who would use Java if it didn't have a huge wealth of useful libraries like apache commons?
    • by Short Circuit ( 52384 ) <mikemol@gmail.com> on Friday December 24, 2010 @05:31PM (#34662100) Homepage Journal

      If you're looking for Perl 6 coders, you might try their IRC channel, #perl6 on Freenode [perl6.org].

    • by SW6 ( 140530 )

      Perl software development is a seller's market, and that job ad is rubbish and fails to pique interest. It's a bland description with no indication of benefits or salary on offer. In fact, it's even less detailed than the crap Perl job ads that pimps spam me with me on a daily basis. Lack of detail implies there is little good to say about the job. Is that the impression you want to give?

      Answer this simple question: Why the bloody hell should I quit my current gig and come and work for you? Then put that an

    • Re: (Score:3, Informative)

      by Anonymous Coward

      I've been a build engineer since the mid-80's. My first exposure to Perl was in 1989. The last line of Perl I wrote was in 2005. I spent a year deciding on which direction to go... Python or Ruby. I went with Ruby as my primary scripting language, and have brought Ruby and Rails into 5 companies to build engineering infrastructure. The reason I went with Ruby was due to its simplicity, power, DSL support, and Rails, and both the Ruby and Rails community. In Silicon Valley I found that when working with peop

    • I have to maintain Perl scripts for our website (I'm otherwise a C++/.NET developer) and I have to tell you that I'm not surprised you can't find an engineer who actually wants to do it for a living. It's the kind of language only someone with Asperger's Syndrome could love.
    • Yeah, now try hiring for a good OO software engineer to write Perl. The applicant pool isn't spectacularly broad. Not too surprising, I suppose, since most of the positions out there featuring Perl are either QA automation or something titled "Build Engineer".

      Well, I would say it's not too surprising for a different reason: perl 5's support for OO is ugly and bolted on, so anybody who's a real enthusiast for OO probably isn't using perl. Although perl 6 is designed so that OO isn't ugly and bolted on, perl

      • by chromatic ( 9471 )

        ... if OO is the right tool for a particular job, then perl is the wrong choice. The right choice would probably be either python or ruby.

        If Perl 5's default OO is the wrong choice, how is Python's OO the right choice? Syntactic differences aside, they're the same system.

        • If Perl 5's default OO is the wrong choice, how is Python's OO the right choice? Syntactic differences aside, they're the same system.

          Syntactic sugar is important. Another difference is that in python, ruby, and perl 6 everything is an object, but in perl 5 everything is not an object. I can see various design trade-offs inherent in the everything-is-an-object decision, but, e.g., in ruby one big benefit is that the namespace is clean and the structure of the libraries is very logical and easy to understand. Cf. perl 5, where basically you just have a ton of functions that are thin wrappers for everything in the traditional C/Unix toolbox

    • Blekko's search engine and NoSQL database are written in Perl. We haven't had problems hiring experienced, smart Perl people, and we've also had no trouble getting experienced Python people to learn Perl.

    • by hxnwix ( 652290 )

      Large OO Perl systems tend to be complex, slow sacred cows into which people who should have known better invest their careers. Arguing for total replacement of old VB applications is easy, but there is always great reluctance to rip out Perl messes. Only a desperate or foolish person would want to accept an invitation to someone else's Perl horror show.

      Once the people responsible for the Perl disaster leave, it will be easy to find people interested in engineering something that isn't rubbish.

    • Ruby has all the mindshare these days.

      I think I've heard of Ruby. Wasn't that popular around 2005?

      Seriously, all the mindshare? Really?

  • Perl (Score:5, Funny)

    by emijrp ( 1754328 ) on Friday December 24, 2010 @04:56PM (#34661894)
    The only language that looks the same before and after RSA encryption.
    • Re:Perl (Score:5, Funny)

      by FooAtWFU ( 699187 ) on Friday December 24, 2010 @05:08PM (#34661972) Homepage
      My favorite line of Perl code ever was in a validator somewhere. It checked whether something was a valid IPv4 construct (something netmask related, I forget the specifics) by passing it to the library, and seeing whether the library threw up or not.

      return !$@;#%

      Yes, the last 40% was purely gratuitous.

      • by mvdwege ( 243851 )

        That's not a really ofuscated construct. If you know the common 1-character variables, then you know $@, as that is one of the most commonly used ones.

        I like the sense of humour displayed by the programmer; but his joke is a bit misaimed, as it only reinforces the standard stereotype of Perl.

        For the non-Perl programmers here: $@ is the variable holding the return code of the most recently called function. This return statement thus returns the boolean negated version of that code. The ; ends the return stat

        • by Pe_Ell ( 855470 )
          For mart and everyone else, $@ is populated by eval. So if an error occurs the error message is there. So what he describes would be like this:

          sub check {
          my $ip = shift;
          eval{ &lib::function($ip) };
          return !$@;
          }

          So if $@ is null it returns true. Otherwise false since ! is a condition operator. And they can do false by calling "die" in that lib::function. But yes, that is rather silly. I'm hoping they couldn't control the other code for some reason. :)
          • by mvdwege ( 243851 )

            I simplified. Of course $@ is set by eval, but that requires a bit more in-depth explanation than I was willing to give.

            Of course, this being slashdot, there'd have been someone along to provide that anyway. Thanks.

            Mart

    • by Anonymous Coward

      The only language that looks the same before and after RSA encryption.

      In typical programming, when a comment block accompanies some procedure explaining
      what that does, this comment is a short paragraph and the code - a bulky flowing construct.

      Perl, on the other hand, is very dense and with many idiosyncrasies. For example:

      # Count the number equal letters (in same positions) in two strings a and b.
      $n =()= ($a ^ $b) =~ /\0/g;

      There is another art characterized by terse, overloaded semantics, tenuous connotations.
      It is called poetry. Not everyone can write poetry. Not everyone ca

      • # Count the number equal letters (in same positions) in two strings a and b.
        $n =()= ($a ^ $b) =~ /\0/g;

        outside of =()=, I find that code to be pretty simple:

        ($a ^ $b)

        $a bitwise xor $b (thus the result contains \0 in each char that is the same)

        /\0/g

        regex looking for null chars in a string

        ($a ^ $b) =~ /\0/g

        thus this returns a list of null chars

        My guess is that this =()= set of operators causes the $n variable to be the result of the list evaluated in scalar context (resulting in the length of this list).

        Indeed if you look closely you can see that that is 2 assignment operators and an empty list. You could rewr

        • by mvdwege ( 243851 )

          I'm always struggling with forcing context, but surely this could have been written as ($n) = ($a ^ $b) =~ /\0/g;? By parenthesizing $n you'd force list context, right?

          Mart

      • In typical programming, when a comment block accompanies some procedure explaining what that does, this comment is a short paragraph and the code - a bulky flowing construct.

        Perl, on the other hand, is very dense and with many idiosyncrasies. For example:

        # Count the number equal letters (in same positions) in two strings a and b. $n =()= ($a ^ $b) =~ /\0/g;

        Yes, but you do not have to write it like this. You can choose a more readable, more explicit way to write this in Perl. I always try to avoid excessive cleverness when I write code; one reason is that I'll forget what it does, and have to figure out all over again. Trying to squeeze as much trickery as you can into a single line of code is just a kid's game.

    • by Xyrus ( 755017 )

      The only language where comic book swear words will beat you at tic-tac-toe.

    • If you don't know what perl golf is, time to treat yourself to some mind blowing perl. Perl golf is a challenge to complete a give set of algorithms in the fewest (key) strokes. Consider the Buroughs Wheeler algorithm, which is what bzip uses. How many keystrokes should that take to write? how about 55?
      http://perlgolf.sourceforge.net/cgi-bin/PGAS/post_mortem.cgi?id=11 [sourceforge.net]

      Mind blowing. Also informative as well.

      I love perl. It has it's problems but I love how it's such a mutable language and how simple the

  • by Anonymous Coward
    I use perl on occasion, I prefer it over php, python, ruby, whatever the language of the day is. But perl 6? Should have called it perl vista. Cleaning up some of the cruft and inconsistencies in perl was a good idea. It has 23 years of features added on. Instead, they managed to make it worse. Good job, guys.
    • by Ant P. ( 974313 )

      Since you're so sure of yourself, you should have no problem explaining what's worse about it, right?

  • I love Perl, but (Score:3, Insightful)

    by Anonymous Coward on Friday December 24, 2010 @05:12PM (#34662000)

    The thing that kills me about the Perl culture is that the delusions of what things mean to the non-Perl world.

    This article is yet another example of that. Larry writes about Camelia representing so many points, which sound fantastic but are complete bollocks. Perl6.org, and specifically Camelia, do not say "fun", or anything about sterile environments or anything about clarity.

    What it says is that in 23 years, the old Perl guard still hasn't figured out that making something that looks completely stupid makes people think you are completely stupid.

    Everything looks completely stupid that comes out of Perl6.

    Nobody really even knows what Perl6 is (even O'Reilly) and then randomly people point out Rakudo Star. This looks like the community is fractured (which it isn't, but it looks that way at a glance, which is all people are getting.)

    I'm saying all this as a Perl hacker. I do love Perl, I think it's great, but all of this is basically turning Perl into something like Furries. The people involved seem to not think there is anything wrong, but every other person in the world makes faces at them.

    I can't imagine being involved in that good thing Scala really is all those things Larry wishes Camelia represents.

    • by chromatic ( 9471 )

      Perl6.org, and specifically Camelia, do not say "fun", or anything about sterile environments or anything about clarity.

      I question this.

      The argument that "No one will ever take a programming language seriously because it has a cartoon butterfly for a logo! Are you six years old?" says a lot more about the arguer than the logo or the language or the community. At least it suggests to me that I would not enjoy working with the person making that argument.

      • by Anonymous Coward

        Well, if that was actually what I said you may have a point.

        Unfortunately that wasn't what I said, nor what I intended.

        My point is simple: The Perl (specifically the old guard) community constantly puts out statements that only the Perl community understands or agrees with.

        In this case, it's "Camelia represents fun, organic growth, clarity, etc." that is being proffered as a statement of intention. Camelia, like most Perl endeavors, fails to represent those things.

        It completely astounds me that so many smar

        • by chromatic ( 9471 )

          Camelia, like most Perl endeavors, fails to represent those things.

          Perhaps to you.

          Do you speak for everyone outside of what you've defined as "the Perl community"?

          • by putaro ( 235078 )

            I'm outside the Perl community and I agree with him. Maybe you should get out more often?

            • by chromatic ( 9471 )

              I'm outside the Perl community and I agree with him.

              I'm sure some people agree with that sentiment. I don't agree that most or all people do.

        • If you use dog shit for an envelope, nobody wants to read the letter.

          Butterflies are widely regarded as more pleasant than dog shit.

          • Given the large number of flies[1] that exist, I doubt that is actually true.

            [1] the non-butter variety.

    • by TimToady ( 52230 )

      The grinch detector seems to be working well here.

      • by Anonymous Coward

        Agreed. My first thought when I saw Camelia was: "That looks dumb, oh well." But when I first saw a post complaining about it I suddenly saw her as the most beautiful thing in modern programming. (Runner up: colon syntax used with closure arguments. JS needs this.)

  • by BitHive ( 578094 ) on Friday December 24, 2010 @05:17PM (#34662026) Homepage

    I suppose I learned a lot about the Perl community though.

    • by grcumb ( 781340 ) on Friday December 24, 2010 @07:19PM (#34662564) Homepage Journal

      I suppose I learned a lot about the Perl community though.

      Larry may sound glib most of the time, but if you took the time to look, you'd see method in his madness. He chooses to make his points lightly, because that's an important part of the message. Perl as a language is designed to reflect the idiosyncrasies of the human brain. It treats dogmatism as damage and routes around it. As Larry wrote, it is trollish in its nature. But its friendly, playful brand of trollishness is what allows it to continue to evolve as a culture.

      Strip away the thin veneer of sillyness and you'll see that everything I've written has been lifted directly from Larry's missive. Just because he likes to act a little silly doesn't mean he's wrong.

      One of the worst things a programmer can do is invest too much ego, pride or seriousness in his work. That is the path to painfully over-engineered, theoretically correct but practically useless software that often can't survive a single revision. Perl as a language isn't immune to any of these sins, but as a culture, it goes to some lengths to mitigate against them.

      • by siglercm ( 6059 )

        Perl as a language is designed to reflect the idiosyncrasies of the human brain.

        I call shenanigans. Did a quick Google search. The only page I could find using words vaguely like these to refer to Perl is this one. (Isn't Google amazing? It's already indexed this article thread....)

        So, you're telling us that as Perl grew from a simple string manipulating scripting language, Larry built into its design syntax and methods which mirror the way programmers' wetware minds work? That is... grandiose... to say the least.

        He may say TMTOWTDI, but he (apparently) doesn't say Perl is designe

  • by toby ( 759 ) on Friday December 24, 2010 @05:39PM (#34662132) Homepage Journal
    That /. is written in Perl.
  • by e**(i pi)-1 ( 462311 ) on Friday December 24, 2010 @07:01PM (#34662508) Homepage Journal
    What I appreciate most about Perl and C is the stability and culture. It is not just a hype which _might_ be around in 10 years. It is one of the languages, which will persist, it is a language I can rely on, just because experience has shown me that. In a rapidly evolving time, it is good to have some things which persist.
    • When I first started working with this internet thingy, the options to do anything with user data was your choice of C or Perl. Then I moved on to PHP because that was what a lot of projects and people where using. That's what we did our rapid development of our web app in was MySQL and PHP. A lot of that had to do with the initial client and what they had available on their hosting server. Once the proof of concept was signed off on and we had our funding for the final production product we had the gre

    • I have perl scripts that date to 1988 or so (perl 1-2 era or 5 jobs ago). By and large most of these have worked over time, but in the mid-90's I did need to edit a few scripts to put a backslash in front of the @ inside of strings. Yes, in many of my .pl libraries, I haven't bothered to change creating variables on the fly and using *pointers instead of using refs and other modern mechanisms.

      On one of the camera groups, I mentioned I had perl scripts to manage my images, from download to album creati

  • Scary (Score:4, Informative)

    by ornil ( 33732 ) on Friday December 24, 2010 @07:53PM (#34662776)

    So I looked at the Perl5To6 Manual, and it gave me a headache. Really, I had to get some medicine just now. There used to be 10 ways to do anything in Perl 5, and in Perl 6 there's 20. And operators are approaching APL in obscureness and number. It has ways of being even more terse at the expense of the maintainer's head possibly exploding. Some changes are very nice and clean up some weirdness, but they compensated for it with a vengeance.

    There's macros, and more contexts (where function returns different things depending on how its value is getting used), and meta-operators, and operator overloading on never-before-seen scale, and weird variant types, and ways to embed an enum into any object, even more complicated regular expressions, and so on ...

    • !#//bin/local/perl

      Unless I missed the funny part of your message, that line is actually interpreted by the shell.

  • Perl 6 spec is still in development, not done yet. Rakudo is an implementation of something that is not done yet, and pugs even less so. Anyone who uses this for any remotely production related is insane. Face it folks, Larry killed Perl.
    • by Ant P. ( 974313 )

      Go ahead and whine all you want. We'll be right over here using the language you pretend doesn't exist.

      • oh, it exists all right. But unusable for serious work, no one is going to hire me to develop in Perl 6.

        Not whining, I've done plenty of Perl 5 development over the last 20 years. Sorry to see Larry try to turn Perl 6 into mutant Swiss Army Knife with fold-out condom and umbrella and eggbeater and cuckcoo clock.

        the guts of a thousand whales fed through a wood chipper....
    • Perl 6 spec is still in development, not done yet. Rakudo is an implementation of something that is not done yet, and pugs even less so. Anyone who uses this for any remotely production related is insane. Face it folks, Larry killed Perl.

      I usually do not use the very latest version of anything on a critical project. The only reason to do this is if the new version has a feature you absolutely cannot do without. Even then, you should be aware that you're taking a big risk. I'd wait for it to age a bit, and maybe use the last known stable version, while other people try out the new stuff. That being said, I find your comment to be a bit on the panicky side. It's a bit early for an obit on Perl.

  • by wdef ( 1050680 ) on Saturday December 25, 2010 @07:28AM (#34664946)
    In some circles. I *like* Perl. I work non-coding with experienced C/C++/Javascript/OoP developers. These are desktop/UI programmers mainly with some server side. They use and expect fluency in Python, which I don't know much. Perl OTOH I know quite well. The head programmer knows no Perl. Mentioning that I like and know Perl is like ... well it's just totally irrelevant. Those on the team that know Perl keep quiet about it. Perl seems to be politically incorrect and by default and without trial held to be wrong for it "unreadability". Besides it's not Python is it.
  • The language that was better than awk+shell. Didn't have much more going for it than that.

"What man has done, man can aspire to do." -- Jerry Pournelle, about space flight

Working...