When I've done this sort of thing in the past, I've used a sub to generate the escape sequences:
sub at{ sprintf "\e[%d;%dH", $_[0], $_[1] }.
Then you can use something like print at( $_*2, $_ ), 'here' for 1..50;
In reply to Re^5: Modify a variable within curly braces (ASCII Sequence))
by BrowserUk
in thread Modify a variable within curly braces (ASCII Sequence))
by westrock2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |