in reply to Re: Re: Re: Re: Re: Auto linking to words in a text file
in thread Auto linking to words in a text file

The code:

/([^|]+)\|(.*)/; $keywords{$1} = $2;
should really be:
/([^|])\|(.*)/ and $keywords{$1}=$2;
- never use $1 and friends unless you actually get a match, or your results may be unpredictable.