Slashdot Mirror


Perl 5.6.1 Released, My Precioussss...

Pudge tells me that perl 5.6.1 is released. Tell your boss you won't get any work done today, you have to, er, upgrade your personal knowledgebase of evolving regularly expressional technology. Then test every one of the bugfixes, like ""a\nxb\n" =~ /(?!\A)x/m". Pick your favorite new feature or bugfix from the announcement and tell us about it.

4 of 117 comments (clear)

  1. Best fix? by YuppieScum · · Score: 4
    Has to be
    Infinity is now recognized as a number.
    Now we can write the code for the Infinate Improbability Drive...
    --
    This sig left unintentionally blank.
  2. Re:how do these people find bugs to fix? by Masem · · Score: 5

    To be truthful, someone generally easily finds a bug in the regex engine about twice a month. Yes, they tend to be on the most complex of regexes, but they are still there and still need to be fixed. Plus memory issues and the typical details you get into with any program.

    --
    "Pinky, you've left the lens cap of your mind on again." - P&TB
    "I can see my house from here!" - ST:
  3. how do these people find bugs to fix? by Bistromat · · Score: 5

    with a language as utterly inexplicable as perl, i wonder how programmers *find* bugs, especially in later releases, where the bugs are that much more obscure.

    "Say, Cletus, ah jist noticed that "a\nxb\n" =~ /(?!\A)x/m doesn't properly eval-yoo-ate for certain prop'rties of 'nxb'.

    then again, i suppose it's about as easy as finding all the little discrepancies between Microsoft's idea of C++ and the ANSI standard -- a famous example is Microsoft's interpretation of the scope of variables declared inside the conditional section of a for loop. with "for(int i..." in standard C++, i's scope is for the duration of the loop. in MSVC, you've just declared a new variable, so putting two for loops in a row with the same variable initialization will cause compiler errors which you *shouldn't be seeing*.

    --nick

  4. Just wondered by Salieri · · Score: 4

    It just occurred to me, how many departments does slashdot HAVE? I've seen hundred and hundreds already. Where do you find managers and resources for an operation that large?

    --------------------------------