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
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
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=("\\", "\|", "\/",
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