WWW::SchneierFacts - API for retrieving facts about Bruce Schneier
use WWW::SchneierFacts; my $db = WWW::SchneierFacts->new; foreach my $fact ( $db->top_facts ) { print "$fact\n", ( $fact->author ? ( " --", $fact->author, "\n" ) : () ), "\n"; }
Bruce Schneier is the Chuck Norris of cryptography.
Return a fact with the ID id, or if a URI object is provided, at the link.
id
If no arguments are given a random fact will be fetched.
Returns a WWW::SchneierFacts::Fact object.
Get the top facts.
This module is maintained using Darcs. You can get the latest version from http://nothingmuch.woobling.org/code, and use darcs send to commit changes.
darcs send
Yuval Kogman <nothingmuch@woobling.org>
Copyright (c) 2008 Yuval Kogman. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::SchneierFacts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::SchneierFacts
CPAN shell
perl -MCPAN -e shell install WWW::SchneierFacts
For more information on module installation, please visit the detailed CPAN module installation guide.