- or download this
my $method = $a->answers->{answers_comments};
$a->answers->$method(
...
sort => "votes",
},
);
- or download this
# in Answers.pm
use Sub::Name 'subname';
...
"Net::StackExchange::V2::Answer::answers_comments",
one_param("answers","comments"),
);
- or download this
$a->answers->answers_comments(
123,
...
sort => "votes",
},
);