I haven't read through all the code yet, but small tip: use tr/// instead of s/// for single character substitutions.
#Set common delimiter for (@lines2) { s/(\t|;)/\t/g } for (@rejects) { s/(\t|;)/\t/g }
#Set common delimiter tr/\t;/\t/ for @lines2, @rejects;
In reply to Re: Optimization tips
by jwkrahn
in thread Optimization tips
by sroux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |