Google::Spreadsheet::Agent::DB - Base Net::Google::Spreadsheet object used by Agents and Runners
Version 0.02
This is not meant to be used by itself. It is meant to be extended in other classes.
Scripts which use objects which extend Google::Spreadsheet::Agent::DB must supply the appropriate configuration for it to work. This can be done one of three ways.
This is the easiest way to configure a set of agents using the same configuration. See config/agent.conf.yml.tmpl for a template, with documentation, of what needs to be defined.
This causes the object to look for YAML file called 'agent.conf.yml' in a directory called 'config' in the same root directory as the directory containing the script using the Google::Spreadsheet::Agent::DB extending object, e.g. $FindBin.'/../config/agent.conf.yml'
You can define a HashRef with all of the key-value pairs defined in config/agent.conf.yml.tmpl and pass that to the constructor. This may be more useful where you want to use other serialization systems (e.g. JSON, XML, etc) to store configuration, which can be manipulated into a HashRef to be passed into the constructor.
This returns the actual Net::Google::Spreadsheet object used by the agent, in case other types of queries, or modifications need to be made that do not fit within this system.
Darin London, <darin.london at duke.edu>
<darin.london at duke.edu>
Please report any bugs or feature requests to bug-google-spreadsheet-agent at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Google-Spreadsheet-Agent. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-google-spreadsheet-agent at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Google::Spreadsheet::Agent::DB
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Google-Spreadsheet-Agent
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Google-Spreadsheet-Agent
Google::Spreadsheet::Agent::Runner Google::Spreadsheet::Agent Net::Google::Spreadsheets Moose
Copyright 2009 Darin London.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Google::Spreadsheet::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Spreadsheet::Agent
CPAN shell
perl -MCPAN -e shell install Google::Spreadsheet::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.