NAME
Business::HashCash - Accept HashCash payments online
VERSION
$Revision: 1.003 $
$Date: Fri Jun 16 02:43:24 PDT 2017 $
SYNOPSIS
use Business::HashCash;
my $bizhc = new Business::HashCash (Stash => '/tmp/bizhc.db',
Vaults => '/tmp/vaults');
print 'Please input HashCash coins for $amount, and press <enter>';
my $coins = readline(*STDIN);
my $verified = $bizhc->verify($coins);
print $verified ? "Thanks for your order.\n" : "Error: coins failed verification\n";
CONSTRUCTOR
new
METHODS
verify
AUTHOR
Ashish Gulhati, <biz-hashcash at hash.neo.tc>
BUGS
Please report any bugs or feature requests to bug-business-hashcash at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-HashCash. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Business::HashCash
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright (c) 2016-2017 Ashish Gulhati.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
See http://www.perlfoundation.org/artistic_license_2_0 for the full license terms.