Because it doesn't account for non-sequential numbers and therefore doesn't meet the spec.
In reply to Re^4: Print to specific line by 1nickt in thread Print to specific line by perlUser345