Monks
I have a subroutine in a package that takes a long (upto 30 mins) to execute and unfortunately I have no way of decomposing it into smaller routines -- theres just loads of data to process and collate. However, I would like to provide the user with feedback as to the percentage completeness of the process, perhaps in the form of something on the console like this:
[############ ] 50%
However, I do not want the subroutine in my package to write directly to the console. I want the script that actually calls the method to control the progress bar, but just need some way of getting feedback from the long-running subroutine as to it progress, to the calling script so the progress bar can be updated.
Can anyone help me with this if it is possible?
____________In reply to User Feedback for Subroutines with Long Execution Time by arunhorne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |