I saw those, but I didn't see how to use them without blocking the system call. The entire point here was to give visual "I'm alive" feedback to a person running a command line script. The use of dots isn't the interesting part, it's the use of threads that's interesting. Does the Animation module support that? | [reply] |
I hope that's enough of visual feedback and non-blocking too.
bw, bliako
ps. using asciiquarium by Kirk Baucom (aythor of Term::Animation) and Joan Stark
Edit: changed the program a bit so as to stop without resorting to signal but by passing a ref to the shared variable $stop.
| [reply] [d/l] [select] |