if ($f =~ /%siteurl/ ¦¦ $f =~ /%v$/ ¦¦ /cs-uri-stem$/)) {
$found=1;
$pos_url = $i;
$i++;
$PerlParsingFormat .= "([^\\s]*) ";
}
Now mind you I just wanted to grab the url www.domain.com
About this statement
if ($f =~ /%siteurl/ ¦¦ $f =~ /%v$/ ¦¦ /cs-uri-stem$/))
you probably mean
if ($f =~ /%siteurl¦%v$¦cs-uri-stem$/) {
...
}
(edited, cleaned up code)