Net::StackExchange::Answers::Response - Accessors for a set of answers
version 0.102740
use Net::StackExchange; my $se = Net::StackExchange->new( { 'network' => 'stackoverflow.com', 'version' => '1.0', } ); my $answers_route = $se->route('answers'); my $answers_request = $answers_route->prepare_request( { 'id' => '1036353' } ); my $answers_response = $answers_request->execute( ); print "Total: ", $answers_response->total (), "\n"; print "Page: ", $answers_response->page (), "\n"; print "Page size: ", $answers_response->pagesize(), "\n";
json
Returns JSON returned by the StackExchange API.
answers
Returns a list of Net::StackExchange::Answers objects.
Net::StackExchange::Role::Response
Alan Haggai Alavi <alanhaggai@alanhaggai.org>
This software is copyright (c) 2010 by Alan Haggai Alavi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::StackExchange, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::StackExchange
CPAN shell
perl -MCPAN -e shell install Net::StackExchange
For more information on module installation, please visit the detailed CPAN module installation guide.