i think what you really want to use then is chomp or a regexp..
or you'd have to say
print "hello\n"
print "\b"
print "world"
etc....
hth,
Jos Boumans
Bob Mangold wrote:
> Hello,
>
> I know I can use the backspace character to overwrite previous characters and
> the such, but can I use it to backup a few lines. Lets say I write:
>
> print "hello\n";
> print "world";
>
> I know that:
>
> print "\b";
> print "a";
>
> will replace the 'd' in 'world' with an 'a', but is there away to backspace
> over both lines. I guess what I really need to do is backspace over an '\n'. Is
> that possible?
>
> -Bob
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/