Re: Display progress or partial results in browser window
[email protected] (Philippe 'BooK' Bruhat)
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
Le vendredi 25 novembre 2005 à 15:09, Bruce McKenzie écrivait:
> Hi.
>
> I've written an agent (using Mech) to search for audiobooks and eAudio
> books in several libraries. As this takes quite a while, I'd like to be
> able to make the browser display progress results.
>
> I can launch the agent and then launch another script in a browser that
> reads periodically from a file written by the agent. But this seems like
> an awkward solution.
You could also use the callback argument to LWP::UserAgent's request() method
to track progress.
--
Philippe "BooK" Bruhat
Treat those you outrank well... you never know when they will outrank you.
(Moral from Groo #7 (Image))