in reply to printing at a x,y position in a terminal window

That's a feature of most terminal windows and not Perl specific, see ANSI escape codes for details.

If you need better Perl support than printing the raw escape codes (or interpolating them via variables) have a look at modules like Term::ANSIScreen

There are even more sophisticated modules out there, which allow you building a Textual (G)UI, like Curses.

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: printing at a x,y position in a terminal window