Check to see if $\ is defined as "\n". It is undefined by default. Perl print will add on a $\ at the end of each print's arguments, as well as a $, between each argument.
If it's defined because you need it, you can localize $\ for this bit.
{ local $\; print 'somestuff'; print "\rOVERWRITE\n"; }
After Compline,
Zaxo
In reply to Re: Dynamically overwriting a line of text on stdout console
by Zaxo
in thread Dynamically overwriting a line of text on stdout console
by freddo411
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |