Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Reading in data that is

by projekt21 (Friar)
on Oct 10, 2001 at 19:38 UTC ( #118014=note: print w/replies, xml ) Need Help??

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 <>
zeitform Internet Dienste

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://118014]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-08-17 01:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found