foreach $line (@lines) {
if ($line =~ /\<li([^]+)([^<]+)/) {
if ($line =~ /\<li\>\<a href\=\"([^\"]+)\">([^<]+)<\/a>/) {
if ($FORM{'url'} eq $1) {
&repeat_url;
}
$i++;
}
}
The second line is my goof
everything else is taken from a script that works
I've removed everything regarding links (a href) from a script except for this line
yes I'm, fudging an old script cuz I don't have a clue
I need it to go to the repeat url function if the variable url matches something already on the page
I tried to cut out the a href=" stuff (from line 3)but it appears I goofed
Anyone fix line 2 for me?
if ($line =~ /\<li([^]+)([^<]+)/) {
if ($line =~ /\<li\>\<a href\=\"([^\"]+)\">([^<]+)<\/a>/) {
if ($FORM{'url'} eq $1) {
&repeat_url;
}
$i++;
}
}
The second line is my goof
everything else is taken from a script that works
I've removed everything regarding links (a href) from a script except for this line
yes I'm, fudging an old script cuz I don't have a clue

I need it to go to the repeat url function if the variable url matches something already on the page
I tried to cut out the a href=" stuff (from line 3)but it appears I goofed
Anyone fix line 2 for me?
Comment