Net::FreeDB2::Response::Sites - FreeDB/CDDB sites response class
See Net::FreeDB2.
The Net::FreeDB2::Response::Sites class contains FreeDB/CDDB response information for sites. It is a subclass of Net::FreeDB2::Response.
Net::FreeDB2::Response::Sites
Net::FreeDB2::Response
Creates a new Net::FreeDB2::Response::Sites object. Calls read () if option content_ref is passed through OPT_HASH_REF.
read ()
content_ref
OPT_HASH_REF
Options for OPT_HASH_REF may include:
If defined, passed to read ().
Reads a FreeDB/CDDB response from the content_ref option passed through HASH reference OPT_HASH_REF. Throws an Error::Simple exception option content_ref is not specified or if the first line of content_ref does not contain a valid code.
HASH
Error::Simple
Mandatory option containing the content replies from the FreeDB/CDDB server.
Set the site objects. LIST is a list of Net::FreeDB2::Site objects.
LIST
Net::FreeDB2::Site
Push site objects onto the site list. LIST is a list of Net::FreeDB2::Site objects.
Returns the list of all Net::FreeDB2::Site objects.
Net::FreeDB2::Response.
None known.
First development: September 2002
Vincenzo Zocca <Vincenzo@Zocca.com>
Copyright 2002, Vincenzo Zocca.
This file is part of the Net::FreeDB2 module hierarchy for Perl by Vincenzo Zocca.
Net::FreeDB2
The Net::FreeDB2 module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
The Net::FreeDB2 module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the Net::FreeDB2 module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
To install Net::FreeDB2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FreeDB2
CPAN shell
perl -MCPAN -e shell install Net::FreeDB2
For more information on module installation, please visit the detailed CPAN module installation guide.