http://qs321.pair.com?node_id=118014


in reply to Reading in data that is

Without commenting on anything else you wrote, perldoc -f split says:

If EXPR is omitted, splits the `$_' string. If PATTERN is also omitted, splits on whitespace (after skipping any leading whitespace). Anything matching PATTERN is taken to be a delimiter separating the fields. (Note that the delimiter may be longer than one character.)

So your line will be split there:

"Jane""Doe" "123 W Beverly Ave" "Talahasee""Maine" "222-22-2222" ^ ^ ^ ^ ^ ^

And yes, those quoting signs are regular chars and will be printed. Sort them out.

alex pleiner <alex@zeitform.de>
zeitform Internet Dienste