Slashdot Mirror


Perl 6 Quick Reference Guide

Jodrell writes: "(via PerlMonks) Bernd Dulfer has posted a Quick Reference Guide to Perl 6, based on Larry's Apocalypses and Damian's Exegesises, as well as Parrot. The Guide is available in POD and RTF formats."

12 of 18 comments (clear)

  1. Re:POD? by Rysc · · Score: 2, Informative

    POD stands for Plain Old Documentation, and is perls inline documentation scheme. I presume a .pod file would be readable by perldoc, same as any other POD documentation.

    --
    I want my Cowboyneal
  2. perl6/parrot works great by d_i_r_t_y · · Score: 4, Interesting

    i've written a few short scripts in perl6/parrot since its initial releases (i write perl for a living) and i have to say i think it's great! hyper-operators are cool! and prototyped subroutines are long overdue. de-referencing with '.' - in perl - is a little weird though. the new regular expression stuff is nothing short of revolutionary methinks.

    as one who's working on 125K lines of perl app, i'll reserve my final judgement of perl6 for the apocolypse that deals with OO in perl6. OO in perl *does* work, though it takes (too much) discipline and good documentation.

    all very exciting methinks. especially the potential of the parrot VM. can't wait for what's to come.
    matt

    1. Re:perl6/parrot works great by PythonOrRuby · · Score: 2

      A few other things:

      Optional strong typing should making debugging much easier, while leaving the easy stuff really easy.

      Parallel iterations are one of the things that culd really sell Perl6 among skeptics. C, C++, Java, C#, etc. programmers may scoff at regular expressions, and say "oh but we already have objects and garbage collection and type checking and all of that, so why would we want to learn Perl?" Well, how in any of those languages do you do something like:

      my int @a = 0 .. 5;
      my str @b = 'A' .. 'F';
      for @a; @b -> $a; $b {
      print "$b is $a\n";
      }

  3. parrot by pizza_milkshake · · Score: 2, Interesting
    i must say that parrot is neat -- i've checked out latest current version, 0.0.2 iirc and written some little parrot assembly files.

    i've always wanted to learn plain old assembly, but i could never rationalize it... assembler is more of a pain than C and it isn't portable. parrot, however, being a software-based assembler *is* portable and fast.

    i guess i'm kind of rambling, but my point is: the parrot project is a very cool one -- especially if you're a an admitted programming language junkie like me. if you haven't taken a look at parrot, check out www.parrotcode.org

    1. Re:parrot by matzim · · Score: 2, Informative

      i must say that parrot is neat -- i've checked out latest current version, 0.0.2 iirc

      Actually, it's 0.0.8.1! (http://www.parrotcode.org is a little out of date.) The latest releases are in JGOFF's directory on CPAN (http://www.cpan.org/) or you can look it up on http://search.cpan.org/.

  4. Die! Nitwit! Die! by fm6 · · Score: 2
    People who use "Reference Guide" in a title should be shot. A Reference is a collection of reference material, a Guide is a task-oriented description of the product. I can see calling something a "Reference and Guide" (though nobody does), but WTF is a "Reference Guide"?

    That's a rhetorical question. It's a clear sign that the author couldn't think through the problem of what, specifically, the book is. Doesn't bode well for the technical content itself.

    1. Re:Die! Nitwit! Die! by j7953 · · Score: 3, Informative

      Slashdot's summary is wrong. The document is called "Perl 6 Quick Reference."

      --
      Sig (appended to the end of comments I post, 54 chars)
  5. Octopods by fm6 · · Score: 3, Informative
    Not that bad. RTF is readable by WordPad and Word, so all Windows people and most Mac people can read it. You can even read it with StarOffice, assuming it doesn't have too many weird formatting constructs.

    Also, Perl comes with a bunch of utilities for translating POD into other formats, including HTML.

  6. Re:POD and RTF formats by matzim · · Score: 4, Insightful

    Uh...

    $ pod2html perl6_qref.pod >perl6_qref.html
    $ pod2text perl6_qref.pod >perl6_qref.txt

    (Though I'd suspect that if you really want to be using Perl 6 right now, you'd already know what to do with POD documents. IMHO.)

  7. OK then by fm6 · · Score: 2

    That's actually a highly descriptive title. Flame retracted.

  8. html-ified version online by mshiltonj · · Score: 2
  9. Re:POD and RTF formats by aminorex · · Score: 2

    Sarcasm != Flamebait.

    I don't understand why everybody doesn't use docbook
    for everything. POD is a perlism, and documents in
    POD are inaccessible to people with a new interest
    in Perl motivated by 6/Parrot. RTF is a
    pseudo-standard. If you want to be accessible, you
    have to produce HTML. If you want POD and RTF as
    well, docbook is your bitch.

    --
    -I like my women like I like my tea: green-