Slashdot Mirror


Perl 5.11.0 Released

jamie points out that Perl 5.11.0 was released yesterday, as well as a schedule for future 5.11.x releases, planned for the 20th of every month. Jesse Vincent encouraged testing of the new (development) version, saying, "If you write software in Perl, it is particularly important that you test your software against development releases. While we strive to maintain source compatibility with prior releases wherever possible, it is always possible that a well-intentioned change can have unexpected consequences. If you spot a change in a development release which breaks your code, it's much more likely that we will be able to fix it before the next stable release. If you only test your code against stable releases of Perl, it may not be possible to undo a backwards-incompatible change which breaks your code."

6 of 235 comments (clear)

  1. Re:Seriously? by ThePhilips · · Score: 5, Informative

    Uhm...

    Perl 5 development is stagnant for one simple reason: Perl 5 is near perfect, there is nothing left to be developed there.

    Some wanted better Perl with more consistent syntax. That's what Perl 6 is for. 5.10/etc are intermediate releases serving the purpose of facilitating future migration to Perl 6: some ambiguous constructs of previous version are gone in 5.10/etc.

    I personally do not care much about 6th - I yet to find any pathological problem in Perl 5 which would persuade me somehow to move to next big thing. Perl 5 is well documented, has piles of modules and examples all over the net. I see no point to move from it.

    --
    All hope abandon ye who enter here.
  2. Re:Seriously? by Fnord · · Score: 3, Informative

    Its not an indication of anything. 5.11 is a development branch. In theory it should be released the moment they implement one feature that doesn't belong in 5.10.

  3. Re:Also try Perl 6 by Norsefire · · Score: 4, Informative

    1. exists

    People have been using Perl 6 for years now. It certainly exists.

    2. has stable specification

    "Stable" is a biologist term, it means "dead". The problem with a set specification (the "waterfall" model) is you discover after something was implemented that it was a bad idea, the whirlpool model prevents this.

    3. has stable releases

    Rakudo has a release every month. The "big" release is coming next April.

  4. Re:Great! Another language to learn! by FooAtWFU · · Score: 5, Informative

    qw(the list of strings operator) is awesome and is equivalent to a list of strings. The main complication of Perl data types: If the thing you're assigning to, or getting out, is an array, it starts with an @: @states = ("Alabama", "Alaska", "Arizona", "Arkansas"); (or if you don't like typing ",s all day long, @states = qw(Alabama Alaska Arizona Arkansas). If the thing you're assigning to, or getting out, is a scalar, it starts with a $: $states[0] eq 'Alabama' or $states[0] = "Canada". If you want an array reference, the reference itself is a scalar, and the thing you're pulling out is also a scalar because that's all you can put into arrays (which is why complex data structures are arrays or hashes with references to other arrays or hashes inside). $stateref = \@states; $stateref->[0] eq 'Canada'; $other_ref = [qw(manitoba vancouver tiajuana)]; @array_again = @$stateref; @array_again = @{$other_ref}.

    And that's really all there is to it, unless you want array slices or something (and who doesn't? @threestates = @states[0..3]).... or getting those out of a reference (@{$stateref}[0..3]).

    Oh, and hashes work on the same principle, but with % for the hash, {} for the indexes, () for populating the hash with an even-sized list, {} for the anonymous reference, and you can do @a_codes = @state_to_postal_codes{qw(alabama alaska arizona arkanasas)}

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  5. Re:*cough* *cough* by A+beautiful+mind · · Score: 5, Informative

    Perl probably has the best testing culture out there from the major programming languages, including Java on the list. Between TAP, Perl 5 core's large test suite and a myriad of test related modules it has automated testing well covered.

    Did you know for example that when you upload something to CPAN, it gets automatically smoked on dozens of platforms and hundreds of different boxes, test reports sent to the author and assistance provided to diagnose platform specific problems if needed?

    Manual testing is for the problems not caught by the huge array of automated tests.

    --
    It takes a man to suffer ignorance and smile
    Be yourself no matter what they say
  6. Re:who uses PERL by onefriedrice · · Score: 3, Informative

    Is that why the interface is such fucking shit?

    include: Slashdot

    I can't believe I have to explain this to somebody reading Slashdot, but interface is built with html and css, not perl (or any other server language).

    --
    This author takes full ownership and responsibility for the unpopular opinions outlined above.