Instead of map{ $a[$_] } @ind you can write @a[@ind], an array slice.
In reply to Re: Boolean array indexing by hdb in thread Boolean array indexing by johnmillerflorida