-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 29 June 2002 05:21, Alex Malinovich wrote: > I've been thinking about this for a while, and even though it's not > really important, I would like to get it in. I've got a script which, on > average, processes about 10,000 files each time it's run, taking a > minute or two to finish. Since having no feedback is not an option, I > opted to have a "File X of Y finished..." line printed after each file. > While this gives the user feedback, it also gives him 10,000 lines of > useless text on the terminal. Any ideas on how to re-write a line > repeatedly and quickly in Perl? I'd prefer to do a percentage counter > with, possibly, a fsck type progress bar. As far as I know Perl can't do > screen refreshes, but perhaps there's a library for it out there > somewhere? Any suggestions?
Have you looked at Term::ProgressBar (http://search.cpan.org/search?dist=Term-ProgressBar) ? Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Haj3AjpHQQmBAUMRAiDdAJ9KlZv+OcFC2PbmD/pnQa2vqZV2pQCdESRq kuI1wwEMwRx2Z4tX/Z43Ux0= =pEj0 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]