The only problem with setting $placeholder=0 is that I would need a way to iteratively increase its value until it is greater than or equal to my next start value before the for loop is completed. Just setting that variable to 0 after the loop means my $position value is always less than $start another way of saying that is:
my position variable resets to the first value of 60454 but $start and $end increase with each loop, so nothing prints after the first output file
In reply to Re^2: Sorting Data By Overlapping Intervals
by ccelt09
in thread Sorting Data By Overlapping Intervals
by ccelt09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |