in reply to File I/O Slow Down

    @fields = split($_,/\|/); isn't doing what you expect it to. Try reversing the arguments. Then run the script again and see if you see a similar slow-down. Depending on how fast %PostCodeStrings grows, you're going to be seeing some slow-down, but it may be insignificant once you're splitting records correctly.

Replies are listed 'Best First'.
Re: Re: File I/O Slow Down
by agentsim (Initiate) on Aug 05, 2003 at 02:18 UTC
    *blush* what dumb mistake :)
    Thank you... that has worked a charm :)