Permalink
Browse files

documentation

  • Loading branch information...
1 parent 55a1801 commit 54f93c82e26ce3cfa17d677dd14c3d3c1e6dd12c @semuel committed Jul 1, 2013
Showing with 14 additions and 0 deletions.
  1. +14 −0 lib/Dist/Surveyor/Inquiry.pm
@@ -97,6 +97,20 @@ for my $subname (@memoize_subs) {
memoize($subname, %memoize_args);
}
+=head2 get_release_info($author, $release)
+
+Receive release info, such as:
+
+ get_release_info('SEMUELF', 'Dist-Surveyor-0.009')
+
+Returns a hashref containing all that release meta information, returned by
+http://api.metacpan.org/v0/release/$author/$release
+(but not information on the files inside the module)
+
+Dies on HTTP error, and warns on empty response.
+
+=cut
+
sub get_release_info {
my ($author, $release) = @_;
$metacpan_calls++;

0 comments on commit 54f93c8

Please sign in to comment.