NAME

App::SpreadRevolutionaryDate - Spread date and time from Revolutionary (Republican) Calendar on Twitter, Mastodon and Freenode.

VERSION

version 0.02

METHODS

new

Constructor class method. Takes one optional argument: $filename which should be the file path of, or an opened file handle on your configuration file, defaults to ~/.config/spread-revolutionary-date/spread-revolutionary-date.conf or ~/.spread-revolutionary-date.conf. This is only used for testing, when custom configuration file is needed. You can safely leave this optional argument unset. Returns an App::SpreadRevolutionaryDate object.

spread

Spreads calendar date to configured targets. Takes one optional boolean argument, if true (default) authentication and spreading to Freenode is performed, otherwise, you've got to run use POE; POE::Kernel-run();> to do so. This is only used for testing, when multiple bots are needed. You can safely leave this optional argument unset.

AUTHOR

Gérald Sédrati-Dinet <gibus@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019 by Gérald Sédrati-Dinet.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007