Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Reading in data that is

by nardo (Friar)
on Oct 10, 2001 at 19:45 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-24 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found