Do you have links to tutorials explaining how I can execute the same sub multiple times at once? I've looked a bit online and found solutions on forums explaining fork or use:threads but not really a good explanation / tutorial.

something like foreach ($line, @file){ do some commands, but do them with 20 lines at a time } wkr, Luk