sub foo { my @stringy_args = map { ref ? bestring($_) : "$_" } @{shift()}; # . . . }