All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Please Log In to Continue

It's maybe kinda obvious and you've probably already discussed this in depth, but wouldn't it be useful to try and pick some features like Perl 6 is doing?

In particular, I'm thinking about named parameters: I think that if Perl 5 is going to have them, it would make sense to take the ones that will be in the future version of Perl, just to make transition smooth (for those who want to do the jump) and comprehension quick (for those who want to read both). Moreover, some topics have been probably already analysed, and even if TIMTOWDI... it could be worth to take a look to the neighbor's wheel!

Except that Perl 6's named parameters are implemented in terms of Capture objects, which are complicated, full of all manner of Perl 6ish syntax, and can be used all over the place for lots of other things.

That's not to say that they're bad, or that they wouldn't work well in Perl 5. They're just a lot more work than starting with ($foo, $bar) and building from there.