RE: Spinning Wheel!!!

2001-06-15 Thread Pate Mark-marpate1
Hi Deno, Lets suppose we had the following : print "$windmill[$_]\r" for 0..1; This would print the array contents for elements 0 to 1. (The $_ effectively taking the value from the for statement). The \r will print a carriage return (no line feed) to return the cursor to the start of t

RE: Beginer...Any free resources for Learning Perl

2001-06-15 Thread Pate Mark-marpate1
Hi Dave, As a non-author and someone who rarely contributes to the list (i.e. I just absorb expertise from yourself and other experts), I am absolutely disgusted with this practice - and I am sure that IBM (his supposed current employer would not like to be affiliated with someone who blatantly i

RE: A Term::ReadKey question -- keep cursor put!

2001-06-14 Thread Pate Mark-marpate1
What, you don't find spinny cursors interesting anymore? Strange that you should bring this up, only last week I was using the spinny cursor concept to explain to a colleague how to continually auto-scoll text in a browser window using the technique similar to my @windmill=("\\", "\|", "\/",

RE: A Term::ReadKey question -- keep cursor put!

2001-06-13 Thread Pate Mark-marpate1
Hi Matt, I'm very new to perl (a week or so), so this may not be the best way to do this, but for ($i=0; $i<10; $i++) {printf "%d\r",$i;} This will (should?) print the number followed by a Carriage Return (no linefeed), so the cursor returns to the start of the line. Hope this is what you