A Perl script which checks for Benford's Law and provides an easy to use output file.
bnfrd has been developed on Perl v5.10.0 and requires bignum. To install it, open the terminal and run
cpan
install bignum
To execute the script, simply run it from the terminal:
perl bnfrd.pl
Since version 1, bnfrd supports any text file and it's flexible enough to avoid non-digits and parse correctly negative and decimal numbers. Some examples of accepted lines:
12345
-2345
0.345
"456"
'-0.05'
"JOHN DOE","678"
Upcoming features in order of priority.
- Test file as user input
- Output a graph
Copyright (c) 2011 Giovanni Cattani.
bnfrd is released under GNU General Public License Version 3.