Socialtext::Resting::DefaultRester - load a rester from a config file.
Load server, workspace and username from a file, so you don't need to specify that for every program using Socialtext::Resting.
use Socialtext::Resting::DefaultRester; my $rester = Socialtext::Resting::DefaultRester->new; print $rester->get_page('Foo');
Create a new Default Rester by using values from ~/.wikeditrc.
File to use as the config file. Defaults to $ENV{HOME}/.wikeditrc.
Specifies the rester class to use. Defaults to Socialtext::Resting.
All other args are passed through to the rester class's new().
The config file is expected to be in the following format:
server = your-server workspace = some-workspace username = your-user password = your-password
Your password will become crypted the first time it is loaded if Crypt::CBC is installed.
Alternately, you can use this format:
server = your-server workspace = some-workspace user_cookie = an-NLW-user-cookie
Luke Closs, <luke.closs at socialtext.com>
<luke.closs at socialtext.com>
Please report any bugs or feature requests to bug-socialtext-default-rester at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Socialtext-Resting-Utils. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-socialtext-default-rester at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Socialtext::Resting::DefaultRester
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Socialtext-Resting-Utils
CPAN Ratings
http://cpanratings.perl.org/d/Socialtext-Resting-Utils
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Socialtext-Resting-Utils
Search CPAN
http://search.cpan.org/dist/Socialtext-Resting-Utils
Copyright 2006 Luke Closs, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Expected text after =item, not a bullet
To install Socialtext::Resting::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Socialtext::Resting::Utils
CPAN shell
perl -MCPAN -e shell install Socialtext::Resting::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.