Wasn't subscribed before, so i cannot answer directly, anyhow:

Chris, thanks a lot for condensing that code into a more readable and efficient form, that is highly appreciated, and i guess will mean i have to start the branch earlier that cleans the perl scripts up.

There are only a small few changes i'll need to make, since this code is meant to go into an OpenGL tutorial; meaning i'd like to keep things as simple, non-magical and consistent as possible, meaning for the case of PDL:

- no NiceSlice in the basic form
- use of method calls whenever at all possible
- only fall back to functions when method calls are not feasible

I'm planning to add a third level branch where i pull out all the stops and condense the tutorials into as efficient Perl with as little duplication as i can, but for the second level i'd just like to translate the C-ish constructs into "simple Perl", with the first level being a transliteration.

Chris, would you like to get a commit into the git repo? If so, you can just send me a pull request to https://github.com/wchristian/ogldev/tree/perl . (No need to do any of the aforementioned changes, i'm happy to do them myself after cherry-picking your commit. (Though i wouldn't say no if you did. :) ))

--
With regards,
Christian Walde

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to