randf - random filter for STDIN
$ tail -f high_flow_log | randf 10
randf command will look for a configuration file before reading its command line parameters. This function depends on Config::CmdRC.
randf
The configuration file is .randfrc . And the location of a configuration file is /etc or $HOME but if the CMDRC_DIR environment variable is set, randf will look for configuration file in that directory or current directory.
CMDRC_DIR
A sample configuration file might read:
per: 10
Dai Okabayashi <bayashi@cpan.org>
App::Randf
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install App::Randf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Randf
CPAN shell
perl -MCPAN -e shell install App::Randf
For more information on module installation, please visit the detailed CPAN module installation guide.