Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Progressing a ProgressBar...

by Cine (Friar)
on Jul 29, 2003 at 21:00 UTC ( [id://278985]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Progressing a ProgressBar...
in thread Progressing a ProgressBar...

You can solve this if you use use a progressbar that works like your browser progress bar. It displays how many searched directories out of the total number of directories seen (in the browser it displays number of link/pics gotten out of how many links there have been seen on the current page).
But for that to work, you do need to calculate your own progress, but it should be as simple as $prog->value( 100 * $numdirssearched / $numdirsseen );
And then you have to use a bread-first search, which is NOT what finddepth does...

T I M T O W T D I

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://278985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-20 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found