I want to open up a text file, say "textfile1" with information on each line (say about 100 lines) and select about 10 lines at random and write (output) these 10 lines to another "pre-defined" text file let's say textfile2 in the same directory, completely replacing the previous 10 ie. before the script is run the first time "textfile2" will be blank. From thereon the previous 10 entries should be replace by new 10 entries, each time the script is run.
Anyone knows?
Thanks
PS. My perl knowledge is a big "0"
Anyone knows?
Thanks
PS. My perl knowledge is a big "0"