App::randskip - Samples lines randomly with an efficient internal mechanism - a random number is generated per a output line not per an input line - both with replacement and without replacement.
Version 0.0003
You can see the help manual by : randskip --help
The help is mainly Japanese with minimum Englih, sorry. But the program is fairly short and simple so the author thinks that you can easily understand what this program does.
Try: seq 50 | randskip -e 0.2 # -e specifies the possibility each line will appear.
seq 10 | randskip -e 0.4 -s 123 # you can fix the random seed. randskip -e 0.3 -r somefile # -r mean sampling "with replacement". -e specifies the expectation appearance number of each input line.
"Toshiyuki Shimono", <bin4tsv at gmail.com>
<bin4tsv at gmail.com>
Please report any bugs or feature requests to bug-app-randskip at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-randskip. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-app-randskip at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc App::randskip
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-randskip
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-randskip
CPAN Ratings
http://cpanratings.perl.org/d/App-randskip
Search CPAN
http://search.cpan.org/dist/App-randskip/
Copyright 2018 "Toshiyuki Shimono".
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
To install App::randskip, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::randskip
CPAN shell
perl -MCPAN -e shell install App::randskip
For more information on module installation, please visit the detailed CPAN module installation guide.