Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Reading in data that is

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


in reply to Reading in data that is

As someone has already pointed out, you could try Text::ParseWords but that only ignores delimiters that are inside quotes, you don't have a delimiter between "Jane""Doe" thus I do not believe Text::ParseWords will work for you. You could use:
my($first_name,$last_name,$address,$city,$state,$phone)=/"(.*?)"/g;
which will grab everything between quotes, it does not attempt to handle escaped quotes, such an exercise is left up to the reader.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-05-22 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?