Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Whiteknight (8626)

Whiteknight
  (email not shown publicly)
http://en.wikibo ... User:Whiteknight
AOL IM: wknight8111 (Add Buddy, Send Message)

My name's Andrew. I'm an open-content advocate at http://en.wikibooks.org. I'm also involved with Parrot as a semi-competent C hacker. This blog is going to be a forum where I can ramble about minutia and post information about perl-world stuff that I care about.

Journal of Whiteknight (8626)

Tuesday February 17, 2009
08:54 AM

Examples Needed!

[ #38500 ]

Yesterday I made a few misc changes to the Perl 6 book at Wikibooks, although nothing as substantial as I would have hoped. My wife hasn't been feeling well and Parrot is preparing for a big release today (the last one before 1.0 next month) so I've been keeping busy with those things and haven't had a lot of time to spare.

Yesterday I did add a few sections about feeds, gather/take, and placeholder arguments. I had intended to start writing about exceptions and then segue into a discussion about control exceptions. However, as I started digging through the synopses I realized that there really weren't any good examples of them in action for me to base my work on.

I know some of the basics about the Perl 6 exceptions implementation, but I don't have a really firm grasp on it just yet. I'm going to have to do some digging to try and find some examples to make sure I'm explaining it right in the book. Once I get exception handling down, I'm going to talk about control exceptions and then the various special named blocks.

That out of the way, I have very few subjects left to write stub drafts for:

1) Grammars and regexes
2) Threading and Concurrency
3) File IO
4) Packages/Modules
5) Perl Culture

With all the information in place, it's just a matter of expanding discussion and adding various code examples to fill the book out. I plan to be concurrently expanding both the book on Wikibooks and the book in the Pugs repo at the same time, since they will both be needing a lot of the same work at that point.

I could really use some good example code, especially code that *should* work and be best-practices Perl 6. Most of the code I can find right now is filled with all sorts of hacks and workarounds because of shortcomings in the various Perl 6 implementations. I have to do some serious digging through the Pugs test suite to get some ideas (I may even help improve/verify some of the tests too, while I'm at it).

Perl 6 book at Wikibooks

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • IO is currently heavily under discussion on the perl-language mailing list, and the result isn't quite set yet. In general, anything in S16 can still change. If I were you, I'd wait for the dust to settle, or else you will have a lot more work keeping things up-to-date.