in reply to Re^8: What is best for the future.
in thread What is best for the future.

The same can be said for 'for'

'for' supports two very different things (the C-style 'for', and iteration over list), so I wouldn't put it in the same category.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^10: What is best for the future.
by JavaFan (Canon) on Aug 26, 2010 at 13:30 UTC
    'for' supports two very different things (the C-style 'for', and iteration over list), so I wouldn't put it in the same category.
    Yet, 'for' and 'foreach' are actual aliases; both can do the same things.

    But here's another example: tr/// and y///. Or do they provide two different things as well? How about $$foo[0] vs. $foo->[0]?