in reply to Re^8: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
in thread use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
it'd be nice to have some sort of iteration interface so that we could use for against a collection or generator or iterator or array without having to flatten the values into a list.
Um, neither for my $item ( @array ) { ... } nor ... for @array; flatten?
And for hashes, use ... while (key, value) = each %hash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
by chromatic (Archbishop) on Nov 25, 2013 at 21:42 UTC | |
by BrowserUk (Patriarch) on Nov 25, 2013 at 22:48 UTC | |
by ikegami (Patriarch) on Dec 01, 2013 at 17:38 UTC |