Grant schreef:

> I ended up going with this:
>   if ($Scratch->{url} =~ /^https?:\/\/images\.google\./) {
> Does that look OK?

Variant of your code:

    if ( $scratch->{url} =~ m#^https?://images\.google\.# ) {

But you'd better go with Randal's "use URI;" advice. 


-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to