in reply to Typeover output

Try this,

$str = "hello"; print "$str"; $str = "hai"; print "\r$str";

Use Escape sequence carriage return

o/p: hailo

Regards,

Gubendran