Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Perl Programming

Perl 6 Quick Reference Guide 18

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."
This discussion has been archived. No new comments can be posted.

Perl 6 Quick Reference Guide

Comments Filter:
  • Pardon my ignorance, but what's a .pod file?
    • > Pardon my ignorance, but what's a .pod file? Plain old documentation.It's what all perldoc's files are stored as, iirc.
    • Re:POD? (Score:2, Informative)

      by Rysc ( 136391 )
      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.
  • by d_i_r_t_y ( 156112 ) on Thursday September 12, 2002 @10:23AM (#4244862) Homepage Journal
    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

    • 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";
      }
  • parrot (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

    • Re:parrot (Score:2, Informative)

      by matzim ( 468452 )

      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/.

  • 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.

  • Oh joy. Now at least 12 people can read it!
    Maybe someone will translate it to WordStar format
    and the readership will double! Hot diggity.
    • Octopods (Score:3, Informative)

      by fm6 ( 162816 )
      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.

    • by matzim ( 468452 ) <mdz4c@v[ ]inia.edu ['irg' in gap]> on Thursday September 12, 2002 @01:04PM (#4246016) Homepage

      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.)

    • I choose pod because it's natural for Perl.

      And I choose rtf because OpenOffice.org understands it. Oh, yes, and MSWord understands it too.


      If you want to provide a WordStar version feel free! Or write a converter, so I can provide it.

    • 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.

Nothing ever becomes real till it is experienced -- even a proverb is no proverb to you till your life has illustrated it. -- John Keats

Working...