-
-
21 Nov 2010 21:48:20 UTC
- Distribution: Random-Quantum
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (101 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (2.65KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Random::Quantum - Get fundamentally random numbers using QRBGS ( Quantum Random Bit Generator Service http://random.irb.hr/ )
SYNOPSIS
use Random::Quantum(); my $cl = new Random::Quantum(user => 'YOUR_LOGIN', 'password' => 'YOUR_PASSWORD'); print $cl->int1; # prints unsigned int(1)
METHODS
int1
Returns unsigned tiny (1 byte) integer
int1_signed
Returns signed tiny (1 byte) integer
int2
Returns unsigned short integer
int2_signed
Returns signed short integer
int4
Returns unsigned long integer
int4_signed
Returns signed long integer
INTERNAL METHODS
status
Status of last request
error
Last error
chunk($size)
Returns bits
Links
CONFIG
use_cache => 0|1
Cache service answer. Default: 1
cache_size => 1..unknown
Size of cache. Default: 4096.
Quantum Random Bit Generator Servicerandom.irb.hr</a>>
AUTHOR
Egor Korablev,
<egor.korablev at gmail.com>
COPYRIGHT & LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Random::Quantum, copy and paste the appropriate command in to your terminal.
cpanm Random::Quantum
perl -MCPAN -e shell install Random::Quantum
For more information on module installation, please visit the detailed CPAN module installation guide.