most probably this is just an xy problem. i.e. you are trying to solve a problem in a wrong way.
I slightly remember a BASIC dialect which had such a feature to allow positioning the cursor, but in Perl I never missed this.
IMHO in reality you'd rather prefer using
(just some plausible guesses).
If all of this is wrong and you don't wanna give us more insights, you can still try writing a routine out() to replace your prints, which automatically splits the arguments at newlines and counts the length of the last line in a global var $OUTPOS.
Cheers Rolf
In reply to Re^3: scalar or sub that can tell me the terminal print offset ?
by LanX
in thread scalar or sub that can tell me the terminal print offset ?
by palkia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |