in reply to Re^5: Spinning cursor while waiting for search/copy process to be finished
in thread Spinning cursor while waiting for search/copy process to be finished
Sorry, there is one more thing: suppose, the process is just in one statement, not a loop:
copy ("$source", "$destination");It does take long because the source is a big file on a network resource. I tried it this way:
while (my $result = copy ("$source", "$destination")) { spin($j); }
But I don't quite like what is going on: it spins, then makes a long pause, then spings again... Is there any trick I could use to make them work as if in parallel?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Spinning cursor while waiting for search/copy process to be finished
by aitap (Curate) on Mar 26, 2013 at 17:02 UTC | |
by Ingvar (Novice) on Mar 27, 2013 at 10:52 UTC |