Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • What I'd like to see is more highlights of code with ordinary Perl6 features.

    Every time there's a post on PerlMonks about Perl6 stuff it's about extra-ordinary features that no doubt are useful and important, the same way e.g. closures are, but isn't what day-to-day Perl6 coding will be all about. At least not in the beginning, when people start getting used to everything new, desperately trying not to become overwhelmed.

    And not that I don't like and appreciate closures, but they're an example of something that wasn't available in Perl4 and in most other languages in use at that time. People don't have an immediate need for it since they don't know what it is, but it's another tool in the toolbox and something to grow into using. Just like the new far-out stuff in Perl6.

    What I'm most hot for is simple things like proper parameter lists, less verbose OO syntax and the //, err operators to make my code more clear and maintainable. Things that I can understand and immediately see improve my code. That's what will win people over in the beginning. Once there, there's everyhing else.
    • Agreed – though I’m not even talking about particularly ground breaking stuff. I’m talking about things that will be bread and butter, like all the punctuation related to parameter lists, and the traits built into the core language, and the multi-sub/method thing, and calling methods on self or super, etc etc etc. Even these mundande and everyday things seem laden with a lot of syntax in Perl 6.

      Indeed, a few simple but non-trivial examples showing how to use these would be helpful.