in reply to Re^2: randomize a text file
in thread randomize a text file
If you want to randomize rows only, read your file into an array of rows, apply shuffle from List::Util and print shuffled array into new file. That's all, probably just a one-liner, don't even need to chomp.
|
|---|