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.


Reply via email to