in reply to [untitled node, ID 168354]
if ($form{'webcam'} =~ /http|www/i)
You'll also note that I have added the i option to the match to perform case-insensitive matching - This allows your regular expression to match these terms within your hash, irrespective of the string case. Again, read about this in perlman:perlre.
|
|---|