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

On 3/14/07, Grant <[EMAIL PROTECTED]> wrote:
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?

- Grant


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


Reply via email to