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 :).
|
|---|