Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

best of perl6 for tutorial

5 views
Skip to first unread message

Herbert Breunung

unread,
May 12, 2006, 4:40:47 AM5/12/06
to perl6-l...@perl.org
like i wrote here before i startet to write an perl6tutorial.
appendix C is made as an appetizer with some code examples in perl 5 vs
perl 6 equivalent.
the examples are so far:

- junctive and chained comparsions, err operator
- given
- sub signature
- minimal class with autogenerated getter/setter
- for-loops with several iterators and iterations using "by" which was
led before to complicated code.

if anybody of you know of more examples where perl6 greatly simplifies
perl5 code, please write me here.
its understood that i will try, once finished to translate it for the
pugs trunk.

herbert
proton-ce.sf.net

Thomas Wittek

unread,
May 12, 2006, 5:09:26 AM5/12/06
to perl6-l...@perl.org
herbert breunung schrieb:

> its understood that i will try, once finished to translate it for the
> pugs trunk.

Might have been better vice versa. First write it in english and then
translate it to german. This way you would've got more responses on that...

-Thomas

Herbert Breunung

unread,
May 12, 2006, 9:45:23 AM5/12/06
to perl6-l...@perl.org
Thomas:

i just asked what you think are the best perl6 feature, to show how improved the language in practical aspects.

the tutorial itself is currently very much in flux and rewrites
i can do much easier in my mothers tongue.

regards
herbert

0 new messages