Slashdot Mirror


Exegesis 6 (Perl 6 Subroutines) Released

chromatic writes "Perl.com has just published Damian Conway's Exegesis 6 which gives practical examples demonstrating how to use the new subroutine and method semantics in Perl 6. This is the companion to Larry Wall's Apocalypse 6 which discussed the changes planned for subroutines in Perl 6."

2 of 234 comments (clear)

  1. oh yeah by tomstdenis · · Score: 5, Insightful

    sub Fahrenheit_to_Kelvin (Num $temp is rw) {

    Verbosity in coding, yeah that will go over well with people who are used to

    int lbn, rax, ... ; :-)

    Don't get me wrong I'm a big fan of Perl, but not for its completeness as a language but for the ability to quickly write small utils to parse text.

    But I suppose whatever floats peoples boats.

    Tom

    --
    Someday, I'll have a real sig.
  2. Re:seems like by chromatic · · Score: 5, Insightful
    the language is becoming more obtuse if thats possible.

    Read the last page of Exegesis 6 to see the Perl 5 version of the code. It's astonishingly simpler and clearer in Perl 6.

    The perl programmers I know don't get along well with other languages, mostly because they have spent so much time learning the intricacies of Perl syntax.

    See the Inline modules on the CPAN.

    I've never met a perl programmer who could tell me what a design pattern is either.

    See Perl Design Paterns, an article on Perl.com.

    I guess they don't go for re-use much in perl progging.

    See the CPAN.

    I think if I went to hell, satan would probably make me write a Perl parser. (without the help of Yacc)

    I've read the Perl parser. You're right about this one.