Net::APE::Raw - Raw object from the APE-Server
version 0.003
my $http_request = $ape_request->get_http_request; my $http_response = $http_client->request($http_request); my $ape_response = Net::APE::Response->new( http_response => $http_response, ); my $raw = $ape_response->shift_raw; $raw->time; $raw->raw; $raw->data; $raw->code;
Gives back the DateTime object of the time variable of the answer
Gives back a string of the raw variable in the answer
Gives back the hashref of the data variable in the answer
Gives back the code of the code variable inside the data of the answer
Torsten Raudssus <torsten@raudssus.de> http://www.raudssus.de/
This software is copyright (c) 2010 by Raudssus Social Software.
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::APE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::APE
CPAN shell
perl -MCPAN -e shell install Net::APE
For more information on module installation, please visit the detailed CPAN module installation guide.