in reply to Re^2: Algorithm to search and replace on data file, based on a table file?
in thread Algorithm to search and replace on data file, based on a table file?

Your spec still has undefined behaviour regarding line ordering. What should happen with
foo bar foo baz
?
  • Comment on Re^3: Algorithm to search and replace on data file, based on a table file?
  • Download Code

Replies are listed 'Best First'.
Re^4: Algorithm to search and replace on data file, based on a table file?
by koknat (Sexton) on Sep 23, 2009 at 18:59 UTC
    That should never happen.
    When I parse the table file, I'll need to check if a key already exists. If so, error out.

    - Chris Koknat