regex.
if ( m/^https?\/\/:blah\.com/)

Ok, how can I pass in the value I want evaluated?  Sorry I'm such a beginner.

- Grant

> Hello, I need to do some special processing if the domain of a URL
> string matches a set of possible values.  I'd like to catch http and
> https.  What is the best way to do that?

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


Reply via email to