Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by tobyink (Canon)
on Jan 19, 2013 at 07:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1014177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found