E-Bitch has asked for the wisdom of the Perl Monks concerning the following question:
Okay, now I know this seems pointless, but humor me. I have seen several command line utilities do this, and I know it can be done. That being said, what I want to accomplish is during the execution of a program ( a file processing program meant to parse through about 28000 files (about 300,000 lines), to be more specific), I would like to show the user that the program is doing something. I have tried printing and endless stream of '.'s out about every 1000 lines or so, but that fills up the damned terminal window... so what I want to do is display the following characters, so they overlap eachother (giving the optical illusion of rotation): | \ - / If this is done correctly, the pipe will be displayed, followed by the backslash overtop of it, then the dash, then the forward slash, and all of this without disturbing what is already on the screen... so any takers out there?