in reply to Can't find string terminator
should beif ($word eq $checkWord) { $word = "<a href=\"$checkLink\">$word</a>";` <--- }
better yetif ($word eq $checkWord) { $word = "<a href-\"$checkLink\">$word</a>"; }
You also opened WORDLIST twice in your &check_links sub, 1 before you looped through @pieces and then you on each iteration of @pieces.if ($word eq $checkWord) { $word = qq{<a href="$checkLink">$word</a>}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(shockme) Re: Re: Can't find string terminator
by shockme (Chaplain) on Mar 25, 2002 at 05:05 UTC |