WWW::CybozuOffice6 - Perl extension for accessing Cybozu Office 6
use WWW::CybozuOffice6; # create a new object $office6 = WWW::CybozuOffice6->new(url => 'http://server/scripts/cbag/ag.exe', user => 'username', pass => 'password'); # check if username/password is correct $office6->test_credentials; # get list of new items $new_items = $office6->externalAPINotify;
WWW::CybozuOffice6 is a perl extension for accessing Cybozu Office 6.
Returns a new instance of WWW::CybozuOffice6. Following attributes are available.
The URL of the Cybozu Office 6.
Username for the Cybozu Office.
Password for the Cybozu Office.
(optional) An LWP::UserAgent object used for access.
Output encoding, default is utf8.
Gets/sets the Cybozu Office 6 URL.
Gets/sets the Cybozu Office 6 username.
Gets/sets the Cybozu Office 6 password.
Gets/sets the LWP::UserAgent object used to access the Cybozu Office 6.
Returns the last response from Cybozu Office 6.
Gets/sets the output encoding.
Checks if username/password is correct.
Obtains a list of new items from the Cybozu Office 6. If successful, an array of new items is returned, of which the keys for each item are:
Name of the application (ex. message, forum)
Name of the application in Japanese printable form
Creation(?) time of the item, in unix time.
Title of the item.
Description of the item. May contain '\x0a's.
Creator of the item, in Japanese printable form.
URL of the item, only the query portion is included.
None by default.
Kazuho Oku <kazuho ___at___ labs.cybozu.co.jp>
Copyright (C) 2005 Cybozu Labs, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
This package is NOT a product of Cybozu, Inc. DO NOT CONTACT CYBOZU, INC. for the use of the software.
For support, please visit http://labs.cybozu.co.jp/blog/kazuho/
To install WWW::CybozuOffice6, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::CybozuOffice6
CPAN shell
perl -MCPAN -e shell install WWW::CybozuOffice6
For more information on module installation, please visit the detailed CPAN module installation guide.