In what way will it not work?
In reply to Re^3: Print to specific line by GotToBTru in thread Print to specific line by perlUser345