For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > November 2005 > how to go back to the beginning of a line during a print command









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to go back to the beginning of a line during a print command
gdamwingzero

2005-11-01, 1:56 am

Hi Guys,
Does anyone know how I can go back to the beginning of a line after a print or printf statement?

For example, if I want to display the data below in two iterations:
AC BD

Where I print A and B first, then go back to the beginning of the line and print C and D next along side A and B, all using print statements.

Regards,
Chris
DTaylor

2005-11-05, 12:38 am

In my experience I have never heard of any way to do that, but I am not saying it is impossible.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com