|
NAMENet::Amazon::Validate::ItemSearch - Validate ItemSearch requests.SYNOPSISNet::Amazon::Validate::ItemSearch; my $valid = Net::Amazon::Validate::ItemSearch::factory(search_index => 'Actor'); my $option = $itemsearch_valid->user_or_default($input); my $default = $itemsearch_valid->default(); DESCRIPTION"Net::Amazon::Validate::ItemSearch" is a class used to verify ItemSearch operation based on the current version of the WSDL and locale. For example if an Artist search is executed the user can search against Classical, Merchants, or Music.METHODS
AUTHORSChristopher Boumenot, <boumenot@gmail.com>COPYRIGHT AND LICENSECopyright 2006 by Christopher Boumenot, <boumenot@gmail.com>This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. NAMENet::Amazon::Validate::ItemSearch - Validate user supplied options against known valid options.SYNOPSISuse Net::Amazon::Validate::ItemSearch; # ... my $valid = Net::Amazon::Validate::ItemSearch::factory(search_index => 'Actor'); $valid->user_or_default($input); $valid->default(); DESCRIPTIONMETHODS
Please check the subclasses of "Net::Amazon::Validate" for specialized methods. TODOI should probably add a function to dispatch calls automatically, that way the user doesn't have to explicity call a function to verify an option. It would make it very easy to write loops to validate input.BUGSThis library was designed to validate ResponseGroup requests only. Support for other parameters were autogenerated but not verified. The biggest problems are with the intrepration of 'Integers 1 to 30', 'A Merchant ID', or 'Amazon (the default value)'.AUTHORChristopher Boumenot, <boumenot@gmail.com>COPYRIGHT AND LICENSECopyright 2006 by Christopher Boumenot <boumenot@gmail.com>This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |