Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: •Re: •Re: Swimsuit issue

by valdez (Monsignor)
on Feb 20, 2003 at 10:13 UTC ( #237041=note: print w/ replies, xml ) Need Help??

in reply to •Re: •Re: Swimsuit issue
in thread Swimsuit issue

I'd like to propose a patch to avoid looping and fetching girls when you're sure there aren't. Please, read your column on that {grin}. Many thanks to larsen for his cooperation in writing this joke.

:))) Valerio

32c32,37 < print +mirror($url, $file), "\n"; --- > if (mirror($url, $file) == RC_NOT_FOUND) { > print "not found\n"; > last; > } else { > print "ok\n"; > }

update: merlyn is ALWAYS right :)

Comment on Re: &bull;Re: &bull;Re: Swimsuit issue
Download Code
Replies are listed 'Best First'.
•Re: Re: •Re: •Re: Swimsuit issue
by merlyn (Sage) on Feb 20, 2003 at 13:28 UTC
    No the code is deliberately continuing even when I get a 404, because some of the number sequences are not, uhm, sequential. Some of them have a 0 picture, some of them are missing a 4, and so on. No model has over 8 or 9 pix, so I guess I could crank the 15 down to 9.

    Hey, what's the cost of 10 additional 404 probes per model, anyway? It's a fast probe.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2016-02-14 08:23 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (463 votes), past polls