in reply to Re^2: A question of perlish elegance on array loop
in thread A question of perlish elegance on array loop

Not really globs, just references. In general wherever you can have a sigil ($@%*) followed by a variable name you can use a BLOCK returning a reference of the appropriate type; e.g. just like @hash{ qw/x y/ } does a hash slice of %hash you can do @{ $hashref }{ qw/ x y / } to slice the hash referred to by $hashref.

The cake is a lie.
The cake is a lie.
The cake is a lie.