I took a look at Term::Twiddle.

After looking at Term::StatusBar, it was an easy step to take a look at Term::Twiddle too. I mean, itโ€™s mentioned in Term::StatusBar POD!

The module does a simple thing:

Now, anytime you or your users have to wait for something to finish, instead of twiddling their thumbs, they can watch the computer twiddle its thumbs.

I have to add that it does it well.

By default, it provides the rotating bar that we all love, but itโ€™s possible to define custom animations, which is interesting:

I think that Iโ€™ll probably give this a try if possible, should such a need arise in a program. Who knows?

The test code used above can be found in this gist.