Hi,
I need to split a file of 20290 lines into two files randomly for 1000 times; each random split has to produce two subfiles, one representing 80%, the other 20% of the original 20290.
I have to make sure that each of the 1000 80-20 splits of the corpus, I get a different split.
Now, is this line at the beginning of my perl script enough to make sure that I have 1000 different 80-20 random splits of the corpus ?
How do I seed the Perl function "rand" to make sure that "rand" produces each time I run the program a different sequence ?
Grazia