836a70c0ab
It's clear from the Supporters.pm code that when an hold is attempted on an already held request, it simply returns the id of the existing hold. I don't actually remember what behavior I really wanted here. There are certainly possibility for semantic confusion in the API with the current functionality, since the API caller must actually check to verify if the hold they got is a new one or just an existing one. Perhaps this should be rethought. I left a comment in the test code for that reason. |
||
---|---|---|
.. | ||
lib | ||
t | ||
Makefile.PL | ||
MANIFEST | ||
README |
Supporters version 0.01 ======================= The README is used to introduce the module and provide instructions on how to install the module, any machine dependencies it may have (for example C compilers and installed libraries) and any other information that should be provided before the module is installed. A README file is required for CPAN modules since CPAN extracts the README file from a module distribution so that people browsing the archive can use it get an idea of the modules uses. It is usually a good idea to provide version information here so that people can decide whether fixes for the module are worth downloading. INSTALLATION To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module requires these other modules and libraries: blah blah blah COPYRIGHT AND LICENCE Put the correct copyright and licence information here. Copyright (C) 2015 by Bradley M. Kuhn This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, at your option, any later version of Perl 5 you may have available.