more useful options | |
PerlMonks |
Re: User Feedback for Subroutines with Long Execution Timeby petesmiley (Friar) |
on May 29, 2003 at 15:41 UTC ( [id://261574]=note: print w/replies, xml ) | Need Help?? |
There are some good answers here, but they strike me as a little complicated. Why not just pass a reference to a sub that handles the info. Then all you have to do in your subroutine is call the reference on each iteration.
This is good if you're not looking for something pretty, and takes about 3 extra minutes to code. smiles
In Section
Seekers of Perl Wisdom
|
|