in reply to Re: How do you clear the current line?
in thread How do you clear the current line?

print "^[[K"; gives me: ^[[K perhaps you meant:
print "\c[[K"; # or print "\e[K";
but be aware that those will only work for ANSI-ish terminals (which are pretty common, though).

        - tye (but my friends call me "Tye")