in reply to glob an array?

To get a subset of an array, with a particular suffix, use grep().
my @subset = grep{/\.hubbba$/}@array; #update added initial regex delimiter thanks [johngg] and [1nickt]

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.