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
Perl 5.19.4 and above. With hashes it seems fairly useful...
sub new { my ($class, %args) = @_; my $self = { %args{"foo", "bar", "baz"} }; bless $self, $class; }
Used on arrays, a la %arr[1,2,3] it seems less so.
|
|---|