in reply to Re^2: Searching for Certain Values
in thread Searching for Certain Values

Sorry, I wrote that last comment, but I forgot to log in at the time.

Replies are listed 'Best First'.
Re^4: Searching for Certain Values
by ikegami (Patriarch) on Jul 30, 2007 at 19:00 UTC

    Change split(/\s+/, ...) to split(/\s*\|\s*/, ...).

    By the way, you might be better off using Text::CSV or the like instead of doing your own splitting.