I swear there's a book somewhere teaching people a Bondage
and Discipline version of Perl. This convoluted access
syntax has shown up time after time in posts.
Instead, make
it all cute and fluffy with curly braces:
@{${ref}}{map{qw{URL}}}
Just kidding