Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: 404 image errors

by cjf (Parson)
on Jun 11, 2002 at 12:58 UTC ( #173453=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: 404 image errors
in thread 404 image errors

This isn't necessary, but what if .jpg becomes a domain suffix?

use URI; my $addr = URI->new($url); my $path = $addr->path; for my $ext (@image_extensions) { if ($path =~ /\.$ext$/) { ....

Probably not worth it to add this in, but I thought I'd point it out anyways :).


Comment on Re: Re: Re: 404 image errors
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-03-30 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (633 votes), past polls