Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: is my api wrapper abstraction ok (is it perlish?)

by tobyink (Abbot)
on Jan 19, 2013 at 07:28 UTC ( #1014177=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-12-22 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (117 votes), past polls