in reply to map confusion

It's basically the equivalent of this
my @urls; foreach (@links) { push(@urls, $_->[0]); }
This means that since @links is an array of arrays, it will on ly use the first value in each of those arrays to place in @urls