Slashdot Mirror


Perl New Version 5.5.660

aarestad writes, "Just saw this on perl.com: the new beta leading to perl 5.6. Read the announcement." It's mostly bugfixes. Pumpking Sarathy says we're on track for a 5.6 final release candidate by Feb.28.

83 comments

  1. TCL is at 8.3 by PD · · Score: 2

    TCL 8.3 was just release a couple weeks ago too. TCL is a competitor to Perl which I happen to love. Not trying to start a flame war here!

    1. Re:TCL is at 8.3 by Anonymous Coward · · Score: 0

      Yes you are. Don't lie to me.

    2. Re:TCL is at 8.3 by passion · · Score: 2

      This is irrelevant. Windows just hit version 2000... does that really big number make it more stable? Dunno - we'll see.

      --
      - passion
    3. Re:TCL is at 8.3 by Anonymous Coward · · Score: 0
      Hi. I have an 8-inch pecker. Does that make it any more stable than CmdrTaco and his 3-inch stub? Dunno - we'll see.

      But I bet I get more pussy.

    4. Re:TCL is at 8.3 by Anonymous Coward · · Score: 0

      I like Windows, I do, but since installing Win2K I have blue screened while: installing on a blank hard disk, plugging in a Sony USB CDRW, running a simple VB app, accessing a CD drive. Grrr. Its back to NT4 for me.

    5. Re:TCL is at 8.3 by Anonymous Coward · · Score: 0
      Hi. I have an 8-inch pecker. Does that make it any more stable than CmdrTaco and his 3-inch stub?

      Means you've less blood left for the brain.

    6. Re:TCL is at 8.3 by losthobbit · · Score: 1

      TCL is a competitor to Perl? In what way? TCL lists itself as a language for issuing commands to other applications and as a library of commands...where as Perl is (was) designed for manipulating text strings. Now I will not argue that Perl and TCL have overlapping areas now, but they are not intended for the same purpose or mission (even if some are using it that way). Lost Hobbit

  2. NEWS FLASH by Anonynous+Coward · · Score: 0

    ...

    1. Re:NEWS FLASH by Mullen · · Score: 0


      Only some lame ass FreeBSD luser would say that.

      Linux and Perl is Life!

      Sorry, had to squeeze in a typical anti-bsd remark on slashdot. It would not not be slashdot without it. Take it as the humour it is.

      --
      Linux O Muerte!
  3. Why new versions for Perl? by mangu · · Score: 0
    I haven't used Perl much, but it seems rather complete to me. Is this new version intended for bug fixes, or is it to add new features?

    I'm ascing because I'm worried about the little I know about Perl becoming obsolete...

    Moderators, take note:
    1)Read the moderation guidelines before moderating anything

    1. Re:Why new versions for Perl? by Anonynous+Coward · · Score: 0
      If you're not going to read the announcement, at least read the fucking summary. YES ITS INTENDED FOR BUG FIXES.

      ...

    2. Re:Why new versions for Perl? by MostlyHarmless · · Score: 2

      This is just a bugfix release. As a rule, new versions will almost *never* break compatibility with older versions. Only certain M$ products *cough*Excel*cough* do that.

      Each version, a few things might be dropped/added. But usually the archaic forms are kept for a few releases until everyone's migrated.

      void recursion (void)
      {
      recursion();
      }
      while(1) printf ("infinite loop");
      if (true) printf ("Stupid sig quote");

      --
      Friends don't let friends misuse the subjunctive.
  4. learning perl... by motardo · · Score: 1

    I was just wondering, what are the best resources for learning perl? Is there any books out there you guys/gals reccommend? thanks
    -motardo

    1. Re:learning perl... by Anonymous Coward · · Score: 0

      Why don't you check out the book reviews?

    2. Re:learning perl... by andy@petdance.com · · Score: 1

      Learning Perl used to be the canonical choice, but now you'll want to check out Elements Of Programming In Perl, published by Manning.

    3. Re:learning perl... by Mushy · · Score: 2
      The most commonly recommended is Learning Perl. If you are not biased against a dummies book then Perl for dummies is the one I used and liked.

      Note:

      1. Claimer: I am earning my doughnuts and Mountain Dew from perl these days
      2. Disclaimer: I don't work for Amazon :-)
    4. Re:learning perl... by Anonymous Coward · · Score: 0

      must be the abridged version...

    5. Re:learning perl... by Scriven · · Score: 2

      As with the other posters, I recommend "Learning Perl" (The Llama book), from O'Reilly and Associates. I also recommend, even if you're just learning, that you also have a copy of "Programming Perl", also from ORA (The Camel book). It is a nice reference to have, if you're curious about more information that the Llama book doesn't offer you.

      HTH.


      This is my .sig. It isn't very big.
      --
      This is my .sig. It isn't very big.
      --An Oldie, but a Goodie!
    6. Re:learning perl... by delysid-x · · Score: 1

      If you do a search on ftpsearch you should be able to come up with some hits for the o'reilly Perl CD Bookshelf. (Hey, don't bitch at me, I didn't upload it there) WTF is up with computer book prices anyhow? Most are C$50+ for paperback! What's up with that? It's almost as bad as the price of textbooks. Especially since the books are made obsolete whenever new versions of the software come out.

    7. Re:learning perl... by joneshenry · · Score: 3

      Start with Mastering Regular Expressions by Jeffrey Friedl. This book is superior to Learning Perl because it will teach you skills that will apply to all languages and utilities. This book starts from the very basics of using regular expressions.

      Next try Advanced Perl Programming by Sriram Srinivasan. This will introduce the higher level concepts of Perl that will explain what about Perl makes it suitable for various tasks.

      Before one can use Perl effectively one must wade through a substantial fraction of its excellent man pages. Actually, Perl's man pages are written in its own lightly marked up documentation format perldoc which can be translated into man pages, plain text, html, whatever. I read it "straight" by downloading the latest development Perl source.

      Perl is basically a fusion of the C library functions and Unix system calls with excellent abilities to handle regular expressions. For this reason is is quite probable that one can learn more about actually using Perl by reading W. Richard Stevens book Advanced Programming in the UNIX Environment then any beginners Perl book.

      For my money if one had only about 40 US dollars to spend on one Perl book, I'd get Tom Christiansen and Nathan Torkington's Perl Cookbook and try to make do learning from the Perl manpages.

    8. Re:learning perl... by Anonymous Coward · · Score: 0

      If (and I do mean if) I had 40 US dollars, I would not buy a book. I'd download Perl, start programming and reference the "perldoc" command whenever I didn't know what command to run.

      Then, of course, I'd use the 40 US dollars to nourish myself for that week to learn Perl.

      Worked for me, it can work for you.

    9. Re:learning perl... by Abigail-II · · Score: 2
      I was just wondering, what are the best resources for learning perl? Is there any books out there you guys/gals reccommend? thanks.

      Lots of people will recommend 'Learning Perl', but I strongly recommend not buying that book. Unless you have problems falling asleep, then this book will be useful. I would recommend Nigel Chapmans "Perl: The Programmers Compagnion", a truely excellent book - specially if you already can program in another language. Half of the authors of Learning Perl prefer Nigel Chapmans book.

      I've heard good things about Andrew Johnsons "Elements of Programming with Perl". I haven't read the book yet though, so I hesitate to recommend it. On the other hand, it mentions my name and discusses some code of me... (of course, that could be held against the book as well).

      After learning Perl, it becomes more difficult. There are a lot of Perl books, but most of them are just a waste. I've more than 15 Perl and Perl related books in my bookcase, but there are two I've actually found useful: Mastering Regular Expressions, and The Perl Cookbook. The former is three years old, and hence doesn't discuss any of the new and advanced regular expression stuff though. But it gives a great insight on how to avoid writing inefficient regular expressions. But the best Perl book remains the Perl Cookbook. Despite it being an O'Reilly book.

      -- Abigail

    10. Re:learning perl... by DanNorth · · Score: 1

      Start with a four year degree course in Computer Studies ... study the fundamentals of computer hardware ... then pick the "Advanced" book for whichever language you choose, because _everyone_ knows the easy stuff.

      Recognise this: "Perl makes easy things easy, and hard things possible"? Don't start with a regular expressions tome or an advanced manual, start with a friendly, accessible book that will tell you what you want to know to get you started. Learning Perl is ideal.

      Your code might not pass muster with the Self-Important Pseuds (whatever happened to the real gurus who knew how to be humble?).

      But hell - your script will work, and you won't be scared off by people fearing for their jobs.

      Enjoy Perl - it's great!
      --

      --
      We are all lying in the gutter, but some of us are splashing around a bit and having fun
    11. Re:learning perl... by |c0bra| · · Score: 1
      I would start out with Programming Perl by Larry Wall (author of Perl), Tom Christiansen and Randal L. Schwartz. Published by O'Reilly (booya). And then move on to some of the other books. In my opinion, O'Reilly is the only way to go.

      --
      There are strange things done, under the midnight sun by the men who moil for gold - Robert Service
    12. Re:learning perl... by alangmead · · Score: 2
      One problem with bad books is that the reader doesn't realize what is being misrepresented.

      I'd trust what Mark-Jason Dominus said or what Tom Christiansen said about the Perl for Dummies book.

      I haven't looked at it yet, but I've heard good things about Elements of Programming with Perl. I've also been told that MacPerl: Power and Ease does a good job of teaching perl programming as well as teaching the MacOS specific areas of MacPerl.

    13. Re:learning perl... by jeorgen · · Score: 1

      By far the best book on perl I've found is "Perl 5 Complete" (E Peschko, M DeWolfe) ISBN 0-07-913698-2. It manages in its 1062 pages to cover pretty much everything (complex variables, object-oriented programming, PerlTk GUI, regexps, CGI, debuggers and all the basics). It is doing this with schematics to show what's going on and it is also a good perl reference. It is probably not for the casual perl beginner, because it is dense. If you're an ambitious beginner it will probably work though. Another good bok is "Perl 5 How-To" (Asbury et al ISBN 1-57169-118-9), a good cookbook style of a book. Some O'Reilly books: "Programming perl" is OK, "Learning perl" I usually find do not have the answers I need, and "CGI programming on the world wide web" (a bit old now) is in my opinion not very good. /Jorgen

    14. Re:learning perl... by gorilla · · Score: 2
      Especially since the books are made obsolete whenever new versions of the software come out.

      This is exactly why computer books are expensive. If you make "Milking cows for dummies", you've got a high upfront cost (writing the book), but you can make that back over a long period of time, as cows in 1990 are the same as cows in 2000 and 2010.

      On the other hand, if you make "Cowsoft Milker 2.0 for dummies", then you have the same upfront cost, but you can only sell the book until Milker 2.1 comes out. Sometimes you can revise the book, but this is an additional cost.

    15. Re:learning perl... by King+Babar · · Score: 2
      Lots of people will recommend 'Learning Perl', but I strongly recommend not buying that book. Unless you have problems falling asleep, then this book will be useful.

      Well, that book put me to sleep, but I then handed it to a colleague who needed to learn perl, and never did get it back. For what it's worth, that person was an intelligent non-programmer. Apparently that book ended up on a Great Journey and has landed on the desks and shelves of many people just like my so-called, book-stealing friend.

      I've more than 15 Perl and Perl related books in my bookcase, but there are two I've actually found useful: Mastering Regular Expressions, and The Perl Cookbook.

      I think the only perl books I don't have now but might want (I have these two) are Perl in a Nutshell (looks like a really handy reference) and possibly Object Oriented Perl, because it was written by Damian Conway, whose papers and projects I have found very useful in the past.

      --

      Babar

    16. Re:learning perl... by nicky_d · · Score: 1

      I've got to chip in and disagree with this mail, because when I made the decision to learn perl, I used Learning Perl and Perl in a Nutshell, and the whole process was painless and fun. The only problems Learning Perl poses are 1) the first chapter goes in a bit too deep if you're learning from scratch, and 2) there's not much OO info in there, but by and large it's a wonderful book that I go back to regularly to remind myself of certain things. I'd also recommend the Perl Cookbook, because I find that learn more effectively by studying examples... Anyway, you should definitely go for it and learn perl - it's great fun. It's geek Esperanto!

  5. when are they going to.. by trollking · · Score: 0

    when are they going to come up with a better way to do OOP in perl? They way it is now is hideous.


    Thank You,
    Troll King

    --
    Thank You,
    Troll King
    Subscribe
    1. Re:when are they going to.. by mindstrm · · Score: 1

      They did. It's called Python.

    2. Re:when are they going to.. by Anonymous Coward · · Score: 0

      ... eq 'I am enough of a masochist that I *enjoy* watching my program malfunction because I indented a line incorrectly'

    3. Re:when are they going to.. by seanb · · Score: 1

      I am enough of a masochist that I *enjoy* watching my program malfunction because I indented a line incorrectly

      I don't see that this is any more painful than watching your program malfuction because you forgot an end-brace.

    4. Re:when are they going to.. by Anonymous Coward · · Score: 0
      I don't see that this is any more painful than watching your program malfuction because you forgot an end-brace

      And I don't think it's any more painful than getting a blowjob from your sister back when she had braces.

    5. Re:when are they going to.. by Kaufmann · · Score: 2

      (I can't find Tom's Perl->Slashdot formatter, so make whatever you can of the script below.)


      #!/usr/bin/perl -w

      # a filter for enabling C++-looking "OO" style in Perl.
      # not tested; have no idea if it works; probably clashes with about a dozen other forms. As usual, provided without any warranty. Heh.
      # syntax:
      # :object.property
      # => $object->{property}
      # :object.method()
      # => $object->method()

      while (<>) {
      s{:(\w+).(\w+)\s*([\([^\(\)]*\)]?)}{$3?'$'.$1.'->' .$2.$3:'$'.$1.'->{'.$2.'}'}egi;
      print;
      }


      Happy now?

      --
      To the editors: your English is as bad as your Perl. Please go back to grade school.
    6. Re:when are they going to.. by gwolf · · Score: 1

      For inclusion in Perl 5.6, Randall L. Schwartz wrote perlroot.pod as a standard file to go with the distribution. It's a very good tutorial on Perl objects. I can't post it here or in my page because permission is only granted for inclusion in the Perl distribution (or that is what I understood), but you can look for that file in the Perl source tree.

    7. Re:when are they going to.. by Anonymous Coward · · Score: 0

      I can't post it here or in my page because permission is only granted for inclusion in the Perl distribution This is the problem with the 'community' now. Name me one perlmonger that would CARE if you actually posted this file... It would have helped someone, but yet you let yourself be taken by the horns by the legal crud!!! Just do what is good, screw this legality bull****!! JAPH pissed cause legal issues have clouded your mind from the righteous path

  6. Re:Moderators, I still love you! by Anonymous Coward · · Score: 0

    Man, I love that message. I've even gotten it a few times on a dial-up-connection. Unfortunately, on a static ip address I use, I often get banned. And I'm not even trolling!

  7. Slashdot by Anonymous Coward · · Score: 2

    Which version(s?) of perl does Slashdot run with?

  8. perl release is a development release by porky_pig_jr · · Score: 0

    it is a development release, stupid. learn before you post.

  9. Does it work under Linux? by mindstrm · · Score: 1

    Does it work under Linux?
    Does it cost a fortune like everythign else Rational makes?
    Do you work for Rational?

    1. Re:Does it work under Linux? by Anonynous+Coward · · Score: 1
      Does it work under Linux?

      Nope

      Does it cost a fortune like everythign else Rational makes?

      Yes

      Do you work for Rational?

      Nope. I actually dislike Rational, as was very sad that they aquired the original Purify developers. But I still think Its

  10. Perl NSA by Anonymous Coward · · Score: 0
    Hey, Larry Wall was working at the NSA when initially writing Perl, no?

    Better not tell the French :-)

    1. Re:Perl NSA by Mushy · · Score: 2

      Yes. It came from a project called "Blacker" project. Here's the Linux Magazine article where he states that.

    2. Re:Perl NSA by danielf · · Score: 1

      If you read the Linux Magazine article, you know much of the scoop. In short, Larry wasn't working for the NSA. Rather, he was working for System Development Corporation in Santa Monica on a project called BLACKER. BLACKER was a project to develop an A1 Secure (TCSEC pre-TNI) Wide-Area Network. As part of the A1 requirements, we had to do configuration management. We had machines on two coasts. Larry, being lazy and impatient :-), decided to adapt inews to keep news articles in synch, and to allow appending "approvals" to existing articles. This gave him the CM databases. For reports, he tried to use awk, but discovered that it couldn't handle multiple files or formats well. Thus, Perl was born to produce BLACKER CM reports. I then started writing Perl scripts to do other activities (such as maintaining our documentation library in sych with the code), as Larry and I were sharing an office (and a carpool) at the time. Larry has told the rest of the story (and yes, I forgave him long ago. Don't get up to the bay area often enough to see him anymore :-() Daniel

  11. bonus by Anonymous Coward · · Score: 2

    only 6 thousandths away from 5.5.666!

  12. PHP4 by Anonymous Coward · · Score: 0

    Don't forget PHP4 either.

  13. Nothing works under Linux by Anonymous Coward · · Score: 0

    Why did you even have to ask?

    1. Re:Nothing works under Linux by Anonymous Coward · · Score: 0

      that's not true. GNU rm, ls, cp, and mv work.

  14. Man, this story has some sad comments... by cpeterso · · Score: 1


    :-\


    1. Re:Man, this story has some sad comments... by Anonymous Coward · · Score: 0

      No, this story has some sad moderators. Anybody except a dumb-fuck moderator on crack would know that your post is not a troll. MODERATORS SUCK.

  15. Is /. turning into Freshmeat? by Mekanix · · Score: 3


    I mean, why all these release updates?

    Bjarne

    1. Re:Is /. turning into Freshmeat? by Anonymous Coward · · Score: 0
      Amazing. When I ask this question, it's -1 troll for me. But when you ask it, it's insightful.

      The quality of moderation varies significantly...

    2. Re:Is /. turning into Freshmeat? by finkployd · · Score: 2

      Look, some popular software titles (X, linux, Apache, Perl) are important enough to be considered news. That is how it has always been here.

      Finkployd

    3. Re:Is /. turning into Freshmeat? by paulschreiber · · Score: 2
      Look, some popular software titles (X, linux, Apache, Perl) are important enough to be considered news. That is how it has always been here.

      yeah, but it's a fricken beta. when 5.6 ships, then announce it.

      :P

    4. Re:Is /. turning into Freshmeat? by st.n. · · Score: 1
      I mean, why all these release updates?

      If you don't like it, don't read it.

      I don't have the time to check Freshmeat all the time, so it's good to see important things here.

      - Stephan.
      --
      Carpe diem!
    5. Re:Is /. turning into Freshmeat? by finkployd · · Score: 2

      Yeah, you're right.

      Mark Earnest

  16. hmm... by Anonymous Coward · · Score: 0

    troll, ...They lived in mountains, sometimes stole human maidens, and could transform themselves and prophesy...

    Don't feed the trolls.

  17. What is this!?! by Anonymous Coward · · Score: 0

    Is this Slashdot or Slashmeat? Maybe you guys ought to think about a name change?? Stay on target..... STAY On Target!

  18. BLOW ME by Anonymous Coward · · Score: 0

    Fuck off. My mother IS my sister. You can't have her!

  19. WHO CARES? by Anonymous Coward · · Score: 0

    Man, a major revision number might warrant a posting here - but it's a minor revision of a developer's release. GET A GRIP!!!

  20. A more complete list of what has changed by Mneme · · Score: 3

    For those who want to know what is actually new in Perl 5.6, you want to look at perldelta . (The message linked to above is just what was new since the last beta).

  21. Thanks! by pb · · Score: 2

    Eventually I'll have to learn Perl. But I might wait for release 6.6.666, so that it runs on Windows properly. ;)

    Seriously, though, I think this is news, because Perl hasn't changed version numbers in a while. I guess this'll be cooler when it's a stable version, but...

    Remember, Linux, Apache and Perl are always news here, because Slashdot runs on all three. And if Slashdot ever tackles that "slow under load" problem, that'll really be news! :)
    ---
    pb Reply or e-mail; don't vaguely moderate.

    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:Thanks! by jedrek · · Score: 1

      Eventually I'll have to learn Perl. But I might wait for release 6.6.666, so that it runs on Windows properly. ;)

      I don't know about you but I use the windows version (activestate) of perl everyday and am VERY happy with it.

      Anyone know how it fares up in a production (WWW server) enviroment?

      Jay

      -- polish ccs mirror

    2. Re:Thanks! by dsplat · · Score: 1

      And if Slashdot ever tackles that "slow under load" problem, that'll really be news! :)

      I consider degraded performance under a heavy load to be quite preferrable to failure under that load. I've seen systems that do both. Hey, I've worked on a couple of systems that have gracefully degraded under loads well outside their specs, so I'm biased. Honestly, while Slashdot being slow is noticable, I have not seen it reach the point of being unusable. I do hope the guys can throw some additional hardware at the problem, but for now I'll muddle through.

      --
      The net will not be what we demand, but what we make it. Build it well.
    3. Re:Thanks! by Anonymous Coward · · Score: 0
      I have not seen it reach the point of being unusable

      Dunno, I reckon a perl error in big bold type down the middle of the screen at every attempt to get in before 12.00 gmt this week is pretty unusable. When it actually responds.

      Seems to get better as the states wakes up though...

    4. Re:Thanks! by pb · · Score: 1

      Ah yes, there is a Perl for Windows, and many other platforms... But did you catch the numerological significance of my post?

      Oh well, nevermind guys. Here's a hint: I was going for "Funny" rather than "Flamebait", and I didn't mean to post at 2 anyhow, (was using Lynx, somehow missed that checkbox though) but I guess I'll start putting "HUMOR:" back into the subject line. That usually helps.

      For some real opinion, I think Slashdot should use something fast instead of Perl. However, I'm impressed that they manage to make so much stuff static, and make the rest of the code pretty fast regardless, so maybe they can handle it.

      And I've seen Slashdot unusable under load, and not from network bandwidth. Ping times are very fast, response times from the web server are very slow. Go figure.
      ---
      pb Reply or e-mail; don't vaguely moderate.

      --
      pb Reply or e-mail; don't vaguely moderate.
  22. Does Anyone Know... by Anonymous Coward · · Score: 0

    if Tom Christiansen is dead? I haven't seen any comments from him recently. I hate his guts but I do admit missing his vitriolic discourse. Is he boycotting slashdot because I have advocated his death in the past? He shouldn't be so petty. Oh well. If anyone can confirm whether he is dead or not, I would appreciate it greatly.

    thank you.

  23. -spiralling further and further offtopic- by Anonymous Coward · · Score: 0

    > only 6 thousandths away from 5.5.666!

    5 .5 .6 .5 ...5.5.6666666.5.5.6 00
    6
    55. 0. 6.

    if man is five
    if man is five
    if man is five
    then the devil is six
    then the devil is six
    then the devil is six
    then the devil is six
    and if the devil is six
    then God is seven
    then God is seven
    then God is seven
    THIS MONKEY'S GONE TO HEAVEN

    THIS MONKEY'S GONE TO HEAVEN

    THIS MONKEY'S GONE TO HEAVEN

    THIS MONKEY'S GONE TO HEAVEN

  24. People, read the detailed link by tilly · · Score: 5

    As was pointed out there are a number of changes. This is not just a bug-fix. The biggest new item is Unicode support. If you have to do things like match patterns in multi-byte character sets, this will be really cool. If you don't it will still be a nice feature since a lot of things (eg the web, file-systems, etc) are moving towards Unicode as internationalization becomes more and more important.

    The biggest "missing features" continue to be solid multi-threading, compilation, and solid 64-bit support. If you want the first one, rethink whether the fork model works. If you want the second think about embedding an interpreter. If you need the third I suggest getting used to opening pipes to and from programs that can handle large files...

    A "cool feature" that was discussed (I have ignored the Perl development list for the last half year so I don't know if it is in) was embedding Perl and a directory structure in a zip format. Imagine shipping an executable which had an encrypted zip appended which was Perl, with your scripts, and a directory structure of all of the modules your script used... :-)

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  25. Re:Moderators, I still love you! by Anonymous Coward · · Score: 0
    What's a topic?

    Topic what? Ye Gods, don't say that out loud, there's slashdotters near!

  26. fork() you! by yzorderex · · Score: 1

    This is a big deal! :-)
    Promising an actual living fork() so I can play robot wars in the background without getting too clunky and memory short.
    New and possibly recursive regex code on which you can coredump but will be very nice for tag matching of all sorts.
    Sigh, the only immediate problem is can only install on NT. wait till March for '98.

    --

    Just another perl hacker in Bangkok
  27. Is this really worthy of a listing on Slashdot? by dbryson · · Score: 1

    Come on, sure a new version of Perl is great news, but it is really worthy of a front page listing on Slashdot? Certainly on freshmeat, but not on Slashdot.

    There must be better stuff than this being submitted, or have you guys ignored everyone enough that no one is making good submissions anymore?

    --
    You just wish your ID was as low as mine! I used to be proud to have such a low id, but not so much now. Slashdot most
  28. offtopic (so sue me) by Anonymous Coward · · Score: 1
    But this article is definitely the reason some people set their minimum threshold to 0 or higher, and people like me at -1.

    Where's the maximum threshold? On Slashdot, It seems like the troll comments are better than the highly moderated ones at least half the time! Don't get me wrong, there are good comments from people with great thoughts and opinions, but it seems like a lot of them are just trying too hard and not speaking their true voice because they want karma/community acceptance/whatever (JonKatz theme). A troll doesn't care what you think.

    I'm looking forward to Signal 11's upcoming gallery of the greatest /. trolls...

  29. Perl does compilation by Andrew+Cady · · Score: 2
    ...though it's considered experimental. From perlfaq3:

    How can I compile my Perl program into byte code or C?

    Malcolm Beattie has written a multifunction backend compiler, available from CPAN, that can do both these things. It is included in the perl5.005 release, but is still considered experimental. This means it's fun to play with if you're a programmer but not really for people looking for turn-key solutions.

    Merely compiling into C does not in and of itself guarantee that your code will run very much faster. That's because except for lucky cases where a lot of native type inferencing is possible, the normal Perl run time system is still present and so your program will take just as long to run and be just as big. Most programs save little more than compilation time, leaving execution no more than 10-30% faster. A few rare programs actually benefit significantly (like several times faster), but this takes some tweaking of your code. You'll probably be astonished to learn that the current version of the compiler generates a compiled form of your script whose executable is just as big as the original perl executable, and then some. That's because as currently written, all programs are prepared for a full eval() statement. You can tremendously reduce this cost by building a shared libperl.so library and linking against that. See the INSTALL podfile in the perl source distribution for details. If you link your main perl binary with this, it will make it miniscule. For example, on one author's system, /usr/bin/perl is only 11k in size!

    In general, the compiler will do nothing to make a Perl program smaller, faster, more portable, or more secure. In fact, it will usually hurt all of those. The executable will be bigger, your VM system may take longer to load the whole thing, the binary is fragile and hard to fix, and compilation never stopped software piracy in the form of crackers, viruses, or bootleggers. The real advantage of the compiler is merely packaging, and once you see the size of what it makes (well, unless you use a shared libperl.so), you'll probably want a complete Perl install anyway.

    (back to me) I also noticed GNU/Hurd is now supported. Hmm.. mebbe it's time to try that (the Hurd) out.

    1. Re:Perl does compilation by alangmead · · Score: 1

      I think the original poster calling compilation a "missing feature" was similar to the FAQ referring to it as "experimental", pieces are there, but they don't quite work. The other "missing features" mentioned are in a similar state.

  30. Learning Perl plus some other ideas... by link2NULL · · Score: 1

    I also recommend Learning Perl, even if you are using Windows. Learning Perl on Win32 Systems does not get that great of reviews and at the entry level you are probably not going to be using anything unique to the Windows environment. BTW, if you aren't used to working from a console environment, Perl is going to be a good new experience for you (if you are going to be working in a Windows command console instead of Linux (or Unix or BSD...), you'll want to set up the console to have higher initial memory than the default so that you aren't dealing with that tiny little console). As far as getting more books, you may want to hold out until you've worked through the first book... I've always been able to find answers to more in-depth material in the Perldocs pretty easily. If you like Perl and start using it, then get hold of Programming Perl. Have fun, I've really enjoyed Perl!

  31. First zee Microzoft, now this! by Anonymous Coward · · Score: 0

    This is Inspector Clouseau, merci for telling moi about zis. I must go now, my televone is rinang.

  32. I *DID* read the announcement, AC and moderator!!! by mangu · · Score: 2
    I also read the original announcement and the "fucking" summary. They said it was *MOSTLY* , but not all, bugfixes.

    If you read the whole original announcement, you find among other things, renaming "byte::" to "bytes::". Do you call this a bugfix? And what exactly is "default mkdir() mode argument to 0777"? Changing default mode arguments is definitely *NOT* a bugfix. Fixing a memory leak is a bugfix, but what about "generalize "%v" format into a flag for any integral format type: "%vd", "%v#o", "%*vX", etc are allowed"?

    The reason I asked is because I have some doubts about the way Perl is evolving. When I used it first, about eight years ago, it seemed to me a pretty cool little language, but I never had the chance to use (and learn) it more extensively. A couple of months ago, I bought "The Perl CD Bookshelf" from O'Reilly and was surprised with all the features that had been added to Perl. Adding unneeded features is the quickest way to add bugs to a system. Look at the MS-Office or MS-Windows releases for the last ten years or so for further examples.

    Seeing this announcement, if you only read the slashdot homepage, you think it's just bugfixes. If you go further and read the "announcement" itself, you see it labelled as a "development version", with "mostly bugfixes". Well, as I see it, if you are developing, you are not fixing bugs, you are adding new features. With new features come new bugs. Looking further, at the "original announcement", you need to be a Perl guru to understand all the notes.

    I really like the Linux system, having a set of versions for adding features and a separate and parallel set of versions just for bugfixes. Although this system is sometimes not followed very religiously, it's an excellent basic principle. So, my original question still stands: is this version intended for fixing bugs or for adding new features or a little of each? Are they adding new bugs to Perl faster than they are debugging?

    This rather long comment could have been avoided if you did what you preach and had actually read the whole original announcement. Clueless moderator, clueless AC, perhaps they are the same?

    Moderators, take note:
    1)Read the moderation guidelines before moderating anything

  33. This is not Bjarne Stroustrup by Anonymous Coward · · Score: 0

    This is not Bjarne Stroustrup. It is also not Bruce Perins (before he posts it himself).

  34. Snooze for Dorks, Stuff for the Crapper by Anonymous Coward · · Score: 0




    Yet another no-news day at Crashdot.

    Yippie skippy, Boner v.0101 goes up a notch.

    Morons. Post some real shit.

  35. Elements of Programming Perl by dgonz · · Score: 1

    I knew only a good deal of JavaScript when I decided I was going to teach myself Perl. I went out and picked up "Programming Perl". Who better to learn from than Larry, I thought. Doh! I'm glad I have the book now but it is definately not for beginners. I'd consider it a must-have reference, though. So then I got "Elements of Programming Perl" after the /. review a few weeks ago. I love it, for the most part. I think the exercises could be emhasized a bit more, but other than that it's very clear and concise. It's well structured and easy to understand (coming from me, that's an endorsement). I highly recommend it.

  36. Perl Can Get Messy by Anonymous Coward · · Score: 0

    Last night, I was trying to suffocate my girlfriend with a perl necklace. All it really did was get sticky and make a big mess.

    But when I wrapped a Python around her neck, she turned blue much more quickly and efficiently.

    Thanks to the the object oriented programming techniques of Python, my girlfriend is nice and blue today.

    Thanks Python!